Wrapper of https://material-ui.com/ for fulcro
Bindings of MUI (former Material UI) for fulcro.
Use this in your deps.edn:
com.github.mrebbinghaus/fulcro-material-ui-wrapper
{:git/url "https://github.com/MrEbbinghaus/fulcro-material-ui-wrapper"
:sha "<latest-sha>"}
And prefer ES modules above CommonJS. Read about this in the ShadowCLJS Docs
{:js-options {:entry-keys ["module" "browser" "main"]}}
JavaScript:
<Typography variant="h6" color="inherit" noWrap className={classes.toolbarTitle}>
ClojureScript
(mui/typography {:variant "h6" :color "inherit" :noWrap true :className "toolbarTitle"} "")
This repo is far from complete. I use it for my own projects and usually only add what I need myself. Feel free to open an issue or merge request, when you are interested in extending it.
This project uses this bindings nearly everywhere. Have a look at it until I want to write some doc.