Skip to content
Proyek

Tentang

Binding ReScript untuk MUI

Alat pengembangan

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

ReScript Bindings for MUI

This library provides ReScript bindings for MUI.

Installation

  1. Install all necessary packages according to the official MUI-Material installation guide: https://mui.com/material-ui/getting-started/installation/.
  2. Install @rescript-mui/material
npm install @rescript-mui/material
  1. Add it to dependencies in your rescript.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.

Jelajahi proyek terkait

Memuat…