clustvirt/view/components/contentlist.templ

16 lines
214 B
Plaintext
Raw Normal View History

package components
import "fmt"
templ List(listImage string) {
<ul class={
"list-inside",
fmt.Sprintf("list-image-%s", listImage) }>
{ children... }
</ul>
}
templ ListItem() {
<li>{ children... }</li>
}