This project was bootstrapped with Create React App.
Made this installable package. But I don't know how to do this :)
Because formik is nice, and I got tired of rc-form.
See storybook or example code
| Prop | Description | Type | Default | Required |
|---|---|---|---|---|
| name | Field in your form | string | true | |
| element | Element, which will be used to get user input | ReactNode | <Input /> | |
| onChange | custom onChange handler | function | ||
| onBlur | custom onBlur handler | function | ||
| hidden | render hidden input. useful for things like ids | Boolean | false | |
| label | Label text | string|ReactNode | ||
| layout | customize layout of Form.Item. Will be spread as wrapperCol and labelCol prop | Object | ||
| required | add a required asterisk. purely visual! |