Liking cljdoc? Tell your friends :D

headlessui-reagent.utils


adapt-as-componentcljs

(adapt-as-component as)

Adapts a ClojureScript :as key to work as a Headless UI 'as' component.

The :as key can be a hiccup-style keyword or a form-1 Reagent component function.

Adapts a ClojureScript :as key to work as a Headless UI 'as' component.

The :as key can be a hiccup-style keyword or a form-1 Reagent component
function.
sourceraw docstring

adapt-class-fncljs

(adapt-class-fn f)

Adapts a ClojureScript function to work as a Headless UI class function.

The ClojureScript function will receive a keyword-ized version of the render props and should return whatever usually works as a Reagent :class -- a string, keyword, or vector of keywords.

Adapts a ClojureScript function to work as a Headless UI class function.

The ClojureScript function will receive a keyword-ized version of the render
props and should return whatever usually works as a Reagent :class -- a
string, keyword, or vector of keywords.
sourceraw docstring

adapt-render-props-fncljs

(adapt-render-props-fn f)

Adapts a ClojureScript function to work as a Headless UI render props function.

The ClojureScript function will receive a keyword-ized version of the render props and should return a Reagent-style component vector. The first element of the vector, the component, can be a hiccup-style keyword or a form-1 Reagent component.

Adapts a ClojureScript function to work as a Headless UI render props function.

The ClojureScript function will receive a keyword-ized version of the render
props and should return a Reagent-style component vector. The first element of
the vector, the component, can be a hiccup-style keyword or a form-1 Reagent
component.
sourceraw docstring

dashifycljs

(dashify kw)
source

headlessui->reagentcljs

(headlessui->reagent component)

Convert a @headlessui/react component into a reagent component.

Convert a @headlessui/react component into a reagent component.
sourceraw docstring

js->clj-morecljs

(js->clj-more props)

We need props appropriate for a Reagent component. We receive React style props that have been shallowly converted to a CLJ hashmap. Finishes the conversion to Reagent props.

We need props appropriate for a Reagent component. We receive React style
props that have been shallowly converted to a CLJ hashmap. Finishes the
conversion to Reagent props.
sourceraw docstring

props-and-childrencljs

(props-and-children args)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close