✨(react) react-hook-form Checkbox example
Our form elements needs to be usable with react-hook-form
This commit is contained in:
@@ -85,6 +85,15 @@ You can also define `state`, `text` props on the group component
|
||||
<Story id="components-forms-checkbox--group-success"/>
|
||||
</Canvas>
|
||||
|
||||
## Usage with react-hook-form
|
||||
|
||||
You can use this input with [react-hook-form](https://react-hook-form.com/docs)
|
||||
|
||||
<Canvas sourceState="shown">
|
||||
<Story id="components-forms-checkbox--react-hook-form"/>
|
||||
</Canvas>
|
||||
|
||||
|
||||
### Props
|
||||
|
||||
<ArgTypes of={Checkbox} />
|
||||
|
||||
Reference in New Issue
Block a user