Shared JS->CLJS prop conversion for React wrappers.
Shared JS->CLJS prop conversion for React wrappers.
(js->props x)Recursively convert JS prop values to ClojureScript maps/vectors. React elements and functions are passed through untouched.
Recursively convert JS prop values to ClojureScript maps/vectors. React elements and functions are passed through untouched.
(prep js-props)Convert JS props to a CLJS opts map and coerce string :direction to
a keyword ("left" -> :left).
Convert JS props to a CLJS opts map and coerce string `:direction` to a keyword (`"left"` -> `:left`).
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |