clustvirt/view/components/flexrow.templ

13 lines
216 B
Plaintext
Raw Normal View History

package components
templ FlexRow(wrap bool) {
<div class={
"flex",
templ.KV("flex-nowrap", !wrap),
templ.KV("flex-wrap", wrap),
templ.KV("md:flex-nowrap", wrap)
}>
{ children... }
</div>
}