@bilalvis01/bs-material-ui-icons

Reason bindings for material-ui-icons


Keywords
react, reasonml, bucklescript, material-ui-icons
License
MIT
Install
npm install @bilalvis01/bs-material-ui-icons@0.10.3

Documentation

bs-material-ui

Reason bindings for material ui.

Status

This package is still under active development.

Installation

npm install @bilalvis01/bs-material-ui

Then add @bilalvis01/bs-material-ui to bs-dependencies to your bsconfig.json:

{
  "bs-dependencies": [
    "@bilalvis01/bs-material-ui",
  ],
  "reason": {
    "react-jsx": 3
  }
}

Please note that @material-ui/core >= 4.5.0 and reason-react >= 0.7.0 are peer depencencies.

Usage

Here is a quick examples to get you started, it's all you need:

/* App.re */
[@react.component]
let make = () => 
  <MUI.Button variant=`contained color=`primary>
    {React.string("Hello World")}
  </MUI.Button>;

in another file:

ReactDOMRe.renderToElementWithId(<App />, "root");

Examples

WIP

Documentation

WIP

License

This project is licensed under the terms of the MIT license.