(class-name component id)Function helper to get class-name from component. Accept react component and className as string or keyword.
Function helper to get class-name from component. Accept react component and className as string or keyword.
(color-for color_ level_)Get the color from Material color db. Accept: color as keyword / string level as integer
Return #000000 if color not found
Get the color from Material color db. Accept: color as keyword / string level as integer Return `#000000` if color not found
(create-mui-theme raw-theme)Create MUI theme from a clojure map.
Create MUI theme from a clojure map.
(make-styles styles)(make-styles styles opts)Returns mui useStyle hook which accepts one argument: the props that will be used for interpolation in the style sheet.
Returns mui useStyle hook which accepts one argument: the props that will be used for interpolation in the style sheet.
(with-style m)Return mui withStyle fn. Accept clojure map as argument.
Return mui withStyle fn. Accept clojure map as argument.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |