Added element function generator

This commit is contained in:
b committed 2019-03-21 21:31:24 -06:00
1 parent 809ec2cff2
commit 8517cab0f5
6 files changed
+184 -24

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
package main
import (
"os"
h "gitlab.codemonkeysoftware.com/b/hatmill"
)
func main() {
document := h.Html()(
h.Div()(
h.Img(h.Id("profile-photo")),
h.Text("hello hatmill!"),
h.Div(h.Disabled())(),
),
)
h.WriteDocument(os.Stdout, document)
}