Wrappers to use Material UI components with purescript-react.
Supported material-ui version: v1.0.0-beta - for 0.18.7 see 0.1.0 release.
Wrappers auto-generated from prop/flow-types using react-docgen via purescript-react-wrapper-gen.
Each component is contained in its own module, e.g. MaterialUI.Button
, and exposes an element factory,
e.g. button
, taking an options object for props and children array.
Button.button (
Button.raised := true
<> Button.dense := true
) [
D.text "Clicky button"
]
]
See test example.
API documentation is available on Pursuit.