aboutsummaryrefslogtreecommitdiff
path: root/src/View/Layout.ml
diff options
context:
space:
mode:
Diffstat (limited to 'src/View/Layout.ml')
-rw-r--r--src/View/Layout.ml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/View/Layout.ml b/src/View/Layout.ml
new file mode 100644
index 0000000..98218ad
--- /dev/null
+++ b/src/View/Layout.ml
@@ -0,0 +1,4 @@
+let section attrs content =
+ H.div
+ (Js.Array.concat [| HA.class_ "g-Layout__Section" |] attrs)
+ content