diff options
-rw-r--r-- | lib/src/lustre/element/html.gleam | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/src/lustre/element/html.gleam b/lib/src/lustre/element/html.gleam index 70ec6c6..a69a5fd 100644 --- a/lib/src/lustre/element/html.gleam +++ b/lib/src/lustre/element/html.gleam @@ -24,8 +24,11 @@ pub fn base(attrs: List(Attribute(msg))) -> Element(msg) { } /// -pub fn head(attrs: List(Attribute(msg))) -> Element(msg) { - element("head", attrs, []) +pub fn head( + attrs: List(Attribute(msg)), + children: List(Element(msg)), +) -> Element(msg) { + element("head", attrs, children) } /// |