THIS REPO HAS BEEN MOVED TO https://github.com/jsiebern/bs-material-ui/tree/master/tools/binding-generator
This library generates bindings for material-ui. It's automatically generated by an adaption of reason-rt-binding-generator (created by astrada).
The build tool assumes both the reason-mui-binding-generator and material-ui git repositories are cloned in the same parent directory. If this is not the case, modify extract/package.json to point to the correct location of your material-ui clone.
Make sure the material-ui directory is a clone, not the NPM version!!.
-
Install reason-cli.
-
Install JS dependencies:
yarn install cd extract; yarn install -
(Re)generate bindings
cd extract; yarn copy; yarn extract yarn parse -
(Re)generate ppx extension
yarn ppx
The generated bindings can be found in output/reason
- Implement the whole
Themestructure & create a converter for it -
Write a code extension for conveniently using a typesafe(2018-02-08)withStyles - Make the code extension work with
theme => objectfunction -
Expose a nested(2017-11-15)Colorsmodule -
Think of a way to use(2017-11-25)theme => objectpattern aswithStylesargument - Add
WithThemecomponent - Add
ThemeProvidercomponent -
Implement classname overrides(2017-11-15) - Implement ref function signatures