(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 builds & hosts documentation for Clojure/Script libraries
⌘+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
⌘+/ | Jump to the search field |