Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.14 KB

README.md

File metadata and controls

41 lines (28 loc) · 1.14 KB

fulcro-material-ui-wrapper

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"]}}

Sample

JavaScript:

<Typography variant="h6" color="inherit" noWrap className={classes.toolbarTitle}>

ClojureScript

(mui/typography {:variant "h6" :color "inherit" :noWrap true :className "toolbarTitle"} "")

WARNING!

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.