bs-material-ui-plus
v0.1.23
Published
Reason bindings for material-ui
Downloads
10
Maintainers
Readme
Reason bindings for Material-UI
Reason bindings for material-ui.
Warning this is a fork, will probably ended up being merged into: InsidersByte/bs-material-ui
Status
🚧 This is a WIP, not everything is supported yet. 🚧
Feel free to create an issue or PR if you find anything missing.
Installation
yarn add bs-material-ui-plus
yarn add material-ui@next
Then add bs-material-ui-plus
to bs-dev-dependencies
in your bsconfig.json
:
{
...
"bs-dev-dependencies": ["bs-material-ui-plus"]
}
Usage
let component = ReasonReact.statelessComponent("Header");
let make = (_children) => {
...component,
render: (_self) =>
MaterialUI.(
<AppBar position="static" color="default">
<Toolbar>
<Typography _type="title" color="inherit">
(ReasonReact.stringToElement("Title"))
</Typography>
</Toolbar>
</AppBar>
)
};
Bindings
- [x] AppBar
- [x] Avatar
- [x] Badge
- [ ] BottomNavigationButton
- [ ] BottomNavigation
- [x] ButtonBase
- [x] Button
- [x] CardActions
- [x] CardContent
- [x] CardHeader
- [x] CardMedia
- [x] Card
- [x] Checkbox
- [x] Chip
- [x] CircularProgress
- [x] Collapse
- [x] DialogActions
- [x] DialogContentText
- [x] DialogContent
- [x] DialogTitle
- [x] Dialog
- [ ] Divider
- [x] Drawer
- [ ] Fade
- [x] FormControlLabel
- [x] FormControl
- [x] FormGroup
- [x] FormHelperText
- [x] FormLabel
- [ ] GridListTitleBar
- [ ] GridListTitle
- [ ] GridList
- [x] Grid
- [ ] Grow
- [ ] Hidden
- [ ] IconButton
- [ ] Icon
- [ ] InputAdornment
- [ ] InputLabel
- [x] Input
- [x] LinearProgress
- [x] ListItemAvatar
- [x] ListItemIcon
- [x] ListItemSecondaryAction
- [x] ListItemText
- [x] ListItem
- [x] ListSubheader
- [x] List
- [x] MenuItem
- [ ] MenuList
- [ ] Menu
- [ ] MobileStepper
- [ ] MuiThemeProvider
- [X] Paper
- [ ] Popover
- [ ] RadioGroup
- [ ] Radio
- [x] Select
- [ ] Slide
- [ ] SnackbarContent
- [ ] Snackbar
- [ ] SvgIcon
- [ ] Switch
- [X] Tab
- [X] TableBody
- [X] TableCell
- [X] TableFooter
- [X] TableHead
- [ ] TablePagination
- [X] TableRow
- [ ] TableSortLabel
- [X] Table
- [X] Tabs
- [X] TextField
- [X] Toolbar
- [X] Tooltip
- [X] Typography