Skip to content

Commit c68e668

Browse files
authored
Add [tag props] arity to om.dom/create-element
1 parent f31832b commit c68e668

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/om/dom.cljs

+2
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,7 @@
7171
to calling `js/React.createElement`"
7272
([tag]
7373
(create-element tag nil))
74+
([tag opts]
75+
(js/React.createElement tag opts))
7476
([tag opts & children]
7577
(js/React.createElement tag opts children)))

0 commit comments

Comments
 (0)