2.0.2 • Published 3 years ago
react-form-hook-mui v2.0.2
About this project
This project simplifies the use of react-form-hook
and Material-UI
. It provides opinionated use cases with following
components:
- FormContainer
- TextFieldElement
- SelectElement
- MultiSelectElement
- RadioButtonGroup
- CheckboxButtonGroup
- CheckboxElement
- PasswordElement
- DatePickerElement
The components are written in TypeScript and attempt an easy integration.
How to use it
import {FormContainer, TextFieldElement} from 'react-form-hook-mui'
function Form(){
return (
<FormContainer
defaultValues={{name: ''}}
onSuccess={(data) => {console.log(data)}}
>
<TextFieldElement name="name" label="Name" required/>
</FormContainer>
)
}
You can have a look at the example
folder which sets up NextJS with react-form-hook-mui
Demo
Check out Storybook: Demo
You will find examples and use cases.
Bundle
This project uses microbundle
and multiple entries for bundling.
License
Changelog
- 2.x Most recent react-form-hook
1.1.1
3 years ago
1.1.0
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago
1.1.4
3 years ago
1.1.3
3 years ago
1.1.2
3 years ago
2.0.2
3 years ago
2.0.1
3 years ago
2.0.0
3 years ago
0.10.5
3 years ago
0.10.4
3 years ago
0.10.3
3 years ago
0.10.2
3 years ago
0.10.0
3 years ago
0.9.0
4 years ago
0.8.1
4 years ago
0.8.0
4 years ago
0.7.0
4 years ago
0.6.0
4 years ago
0.5.0
4 years ago
0.4.0
4 years ago
0.3.0
4 years ago
0.2.0
4 years ago
0.1.0
4 years ago