Liking cljdoc? Tell your friends :D

dv.emotion-css


add-class-namecljs

(add-class-name props class-name)
source

add-class-names?cljs

(add-class-names?)
source

ADD_CLASSNAMEScljs

source

camelize-keyscljs

(camelize-keys style-map)

Also replaces styled components with their css classname is key position.

Also replaces styled components with their css classname is key position.
sourceraw docstring

cljs-props-keyclj/s

source

convert-csscljs

(convert-css css)

Takes a hashmap or vector of styles and converts to JS types, will pass any functions cljs data structures.

Takes a hashmap or vector of styles and converts to JS types, will pass any functions cljs data structures.
sourceraw docstring

csscljs

(css & css)
source

default-classname-styleclj

source

emotion-hashcljs

source

force-childrencljs

(force-children x)

Utility function that will force a lazy sequence of children (recursively) into realized vectors (React cannot deal with lazy seqs in production mode)

Utility function that will force a lazy sequence of children (recursively) into realized
vectors (React cannot deal with lazy seqs in production mode)
sourceraw docstring

get-cls-nameclj

(get-cls-name namespace-name print-style component-sym)
source

get-cls-name-from-metaclj

(get-cls-name-from-meta namespace-name component-sym)

Returns string or nil for the classname

Returns string or nil for the classname
sourceraw docstring

get-typeclj

(get-type styled-arg tag-name)
source

global-stylecljs

(global-style props)

Takes a cljs vector or hashmap of styles and converts to JS types before calling emotion's Global function from the @emotion/react package. Inserts styles into the DOM that target global elements and classes.

https://emotion.sh/docs/@emotion/react

Takes a cljs vector or hashmap of styles and converts to JS types before calling emotion's Global function
from the @emotion/react package.
Inserts styles into the DOM that target global elements and classes.

https://emotion.sh/docs/@emotion/react
sourceraw docstring

hashitcljs

(hashit string)
source

jsxcljmacro

(jsx el props)
(jsx el props & children)
source

jsx*cljs

source

kebab->camelcljs

(kebab->camel prop)
source

keyframescljs

(keyframes anim-map)
source

make-js-propscljs

(make-js-props props class-name)
source

map->objcljs

(map->obj m)
source

obj-getclj/s

(obj-get o k)
source

obj-setclj/s

(obj-set o k v)
source

react-factorycljs

(react-factory el class-name)
source

set-class-namecljs

(set-class-name props class-name)
source

theme-providercljs

(theme-provider props & children)

Takes a hashmap of a style theme and react children to render with that theme in the React Context using emotion's ThemeProvider.

Takes a hashmap of a style theme and react children to render with that theme in the React Context
using emotion's ThemeProvider.
sourceraw docstring

wrap-call-style-fncljs

(wrap-call-style-fn anon-styles?)
source

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

× close