(add-kwprops-to-props props kw)
Combine a hiccup-style keyword with props that are either a JS or CLJS map.
Combine a hiccup-style keyword with props that are either a JS or CLJS map.
(fold-in-classes props component)
Update the :className prop in the given props to include the classes in the :classes entry of props. Works on js objects and CLJ maps as props. If using js props, they must be mutable.
Update the :className prop in the given props to include the classes in the :classes entry of props. Works on js objects and CLJ maps as props. If using js props, they must be mutable.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close