diff --git a/components/bulma/table.templ b/components/bulma/table.templ new file mode 100644 index 0000000..2356404 --- /dev/null +++ b/components/bulma/table.templ @@ -0,0 +1,37 @@ +package bulma + +// Creates a that accepts children +templ Table(){ +
+ { children... } +
+} + +// Creates a that accepts children. +templ TableHeader() { + { children... } +} + +// Creates a that accepts children. +templ TableRow() { + { children... } +} + +// Creates a and writes the given value +templ TableHeaderData(value string) { + { value } +} + +// Creates a that allows you to also add a tooltip value +templ TableHeaderDataToolTip(value, tooltip string) { + { value } +} + +// Creates a that accepts children. +templ TableDataChildren() { + { children... } +} + +templ TableData(value string) { + { value } +} \ No newline at end of file