package base templ Table(headers []templ.Component, rows []templ.Component, attrs templ.Attributes) {
for _, header := range headers { } for _, trow := range rows { @trow }
@header
} // Component to use as plain text when // templ.Component is used as argument templ PlainText(content string) { { content } }