项目
在 GitHub 查看
cca-io/rescript-mui
关于
MUI 的 ReScript 绑定
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文ReScript Bindings for MUI
This library provides ReScript bindings for MUI.
Installation
- Install all necessary packages according to the official MUI-Material installation guide: https://mui.com/material-ui/getting-started/installation/.
- Install
@rescript-mui/material
npm install @rescript-mui/material
- Add it to
dependenciesin yourrescript.json:
{
"dependencies": ["@rescript-mui/material"]
}
These bindings will only work with ReScript 12+ (uncurried mode) and JSX version 4, as it enables us to utilize untagged variants, optional record fields, and record props spread. The latter is especially important, as we are finally able to inherit props from one component to another more easily.
Examples
Have a look at the examples folder.
Packages
| MUI package | ReScript bindings package | Namespace |
|---|---|---|
| @mui/material | @rescript-mui/material | Mui |
| @mui/lab | @rescript-mui/lab | MuiLab |
| @mui/x-date-pickers | @rescript-mui/x-date-pickers | MuiXDatePickers |
Documentation
See documentation.
Changelog
See CHANGELOG.
Contributing
See CONTRIBUTING.
探索相关项目
加载中…