package examples import "github.com/Tend-Stack/GothUI/v2026/components" templ ExampleDataTable() { @components.DataTable(components.DataTableProps{Caption: "Sample project hours", Striped: true, Columns: []components.TableColumn{{Label: "Project", RowHeader: true}, {Label: "Hours", Alignment: components.AlignEnd}}, Rows: []components.TableRow{{Cells: []components.TableCell{{Text: "Studio website"}, {Text: "24"}}}, {Cells: []components.TableCell{{Text: "Team handbook"}, {Text: "12"}}}}}) }