mirror of https://github.com/status-im/pluto.git
make view attributes optional
This commit is contained in:
parent
642373e43a
commit
18f544f019
|
@ -22,7 +22,7 @@
|
|||
(spec/def ::element
|
||||
(spec/cat
|
||||
:tag (spec/or :symbol symbol? :fn fn?)
|
||||
:attrs map?
|
||||
:attrs (spec/? map?)
|
||||
:children (spec/* ::form)))
|
||||
|
||||
(declare parse)
|
||||
|
|
Loading…
Reference in New Issue