newsbot-portal/components/bulma/image.templ

10 lines
219 B
Plaintext
Raw Normal View History

2024-07-14 09:07:53 -07:00
package bulma
// Creates a image wrapper.
// This accepts children.
// Use html.Img() to load a image as a child
templ Image(image string) {
<figure class={ "image", image }>
{ children... }
</figure>
}