(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.
(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.
(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.
(headlessui->reagent component)
Convert a @headlessui/react component into a reagent component.
Convert a @headlessui/react component into a reagent component.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close