about summary refs log tree commit diff stats
path: root/el/content.go
blob: 5a4bce90aa0155a698ca76bb700ca91a31e5b87b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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...)
}