1.0.0-beta.4 • Published 3 years ago
formulir v1.0.0-beta.4
Formulir - Build instant Material UI forms
Formulir is a simple library for building instant forms with Material UI (MUI) components.
Installation
You’ll want to install Formulir and its peer-dependencies via yarn (or npm).
MUI Core
yarn add @mui/material @emotion/react @emotion/styled
MUI Lab
yarn add @mui/lab date-fns @date-io/date-fns
Formulir
yarn add formulir
Note : If you use ex. Next.js make sure server rendering is in Material UI (MUI), to make it easier, you can follow the sample project from the Material UI documentation.
Setup
DatePicker and TimePicker
// App.js
import AdapterDateFns from '@mui/lab/AdapterDateFns'
import LocalizationProvider from '@mui/lab/LocalizationProvider'
function App() {
return (
<LocalizationProvider dateAdapter={AdapterDateFns}>
...
</LocalizationProvider>
)
}
Examples
- CodeSandbox
- Documentation (coming soon)
1.0.0-beta.5
3 years ago
1.0.0-beta.4
3 years ago
1.0.0-beta.2
3 years ago
1.0.0-beta.3
3 years ago
1.0.0-beta
3 years ago
1.0.0-beta.1
3 years ago
0.0.1
3 years ago