summaryrefslogtreecommitdiff
path: root/editor/forms/validation.ml
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2021-06-01 13:11:58 +0200
committerSébastien Dailly <sebastien@dailly.me>2022-02-07 16:43:33 +0100
commit72e3b16bbd258e63f047392c973ba5e8f0a823c8 (patch)
tree67f75383a9d20590587c648ecb5e3c78f6bd0044 /editor/forms/validation.ml
parent54f6e68c051afec0d20c349352feee5356e11b35 (diff)
Added export button in editor
Diffstat (limited to 'editor/forms/validation.ml')
-rwxr-xr-xeditor/forms/validation.ml13
1 files changed, 13 insertions, 0 deletions
diff --git a/editor/forms/validation.ml b/editor/forms/validation.ml
new file mode 100755
index 0000000..cda7db8
--- /dev/null
+++ b/editor/forms/validation.ml
@@ -0,0 +1,13 @@
+open Brr
+open Note
+
+type t = unit
+
+let create
+ : Jstr.t -> t Note.signal * El.t
+ = fun message ->
+ let state = S.const () in
+
+
+ ( state
+ , El.txt message )