Drop-in replacement for re-com.core
with a few changes.
Drop-in replacement for `re-com.core` with a few changes.
(for bindings body)
Like for
, but avoids React's complaints about unique keys.
Like `for`, but avoids React's complaints about unique keys.
(gap & {:as props})
Like re-com.core/gap
, but with a default :size
of 10px
.
Like `re-com.core/gap`, but with a default `:size` of `10px`.
(horizontal-tabs & {:keys [model] :as props})
Like re-com.core/horizontal-tabs
, but stores :on-change
results in model
.
Like `re-com.core/horizontal-tabs`, but stores `:on-change` results in `model`.
(input-text & {:keys [model transform] :or {transform identity} :as props})
Like re-com.core/input-text
, but stores :on-change
results in model
.
model
: an atomtransform
: a function that will wrap :on-change
values before they're
stored in model
.Like `re-com.core/input-text`, but stores `:on-change` results in `model`. - `model`: an atom - `transform`: a function that will wrap `:on-change` values before they're stored in `model`.
Like re-com.core/v-box
but without map destructuring.
Example:
[v-box {:style {:width "200px"}}
[child-component-1]
[child-component-2]]
Like `re-com.core/v-box` but without map destructuring. Example: ``` [v-box {:style {:width "200px"}} [child-component-1] [child-component-2]] ```
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close