Liking cljdoc? Tell your friends :D

mantine.interop

Handwritten interop escape hatches (not generated, no supplement). Helpers for reaching past the wrappers to the underlying Mantine primitives when a wrapper does not cover some interop — e.g. passing a component to a slot prop like :component.

Handwritten interop escape hatches (not generated, no supplement). Helpers for
reaching past the wrappers to the underlying Mantine primitives when a wrapper
does not cover some interop — e.g. passing a component to a slot prop like
`:component`.
raw docstring

no-convertclj/s

Tag a value so the props converter passes it through untouched (kept as-is CLJS) instead of deep-converting it. Honored at any depth. A wrapper VALUE, not metadata — it survives merge/select-keys/map rebuilds. The general opt-out for raw-CLJS payloads; :inner-props gets this treatment automatically.

Tag a value so the props converter passes it through untouched (kept as-is
CLJS) instead of deep-converting it. Honored at any depth. A wrapper VALUE,
not metadata — it survives merge/select-keys/map rebuilds. The general opt-out
for raw-CLJS payloads; :inner-props gets this treatment automatically.
sourceraw docstring

raw-componentclj/s

Given a wrapper var from any generated namespace (e.g. mc/button, mantine.dates/date-picker), returns the underlying raw Mantine React component. Reads through the controlled-input shim, so a curated input (e.g. mc/text-input) returns the true Mantine component, never our shim.

Main use case: passing the raw component to slots such as the :component prop, and any interop a wrapper does not cover. Cannot resolve components a wrapper does not cover — supplement the wrapper for those.

On misuse (the argument is not one of our wrappers) js/console.errors the offending value and returns nil.

Given a wrapper var from any generated namespace (e.g. `mc/button`,
`mantine.dates/date-picker`), returns the underlying raw Mantine React component.
Reads through the controlled-input shim, so a curated input (e.g. `mc/text-input`)
returns the true Mantine component, never our shim.

Main use case: passing the raw component to slots such as the `:component` prop, and
any interop a wrapper does not cover. Cannot resolve components a wrapper does not
cover — supplement the wrapper for those.

On misuse (the argument is not one of our wrappers) `js/console.error`s the offending
value and returns nil.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close