Skip to content

nwolverson/purescript-react-material-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

purescript-react-material-ui

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.

Usage

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.

Documentation

API documentation is available on Pursuit.

About

purescript-react bindings for material-ui

Resources

License

Stars

Watchers

Forks

Packages

No packages published