diff options
Diffstat (limited to 'el/content.go')
-rw-r--r-- | el/content.go | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/el/content.go b/el/content.go new file mode 100644 index 0000000..5a4bce9 --- /dev/null +++ b/el/content.go @@ -0,0 +1,25 @@ +package el + +import ( + g "github.com/maragudk/gomponents" +) + +func Div(children ...g.Node) g.NodeFunc { + return g.El("div", children...) +} + +func Ol(children ...g.Node) g.NodeFunc { + return g.El("ol", children...) +} + +func Ul(children ...g.Node) g.NodeFunc { + return g.El("ul", children...) +} + +func Li(children ...g.Node) g.NodeFunc { + return g.El("li", children...) +} + +func P(children ...g.Node) g.NodeFunc { + return g.El("p", children...) +} |