Skip to content

MrEbbinghaus/fulcro-material-ui-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.