validate-antd-forms
v1.0.4
Published
A utility library for validating Ant Design forms.
Downloads
5
Maintainers
Readme
Validate Ant Design Forms
A utility library for validating Ant Design forms.
Table of Contents
Installation
To install the library, use npm or yarn:
npm install validate-antd-forms
import {Rules} from 'antd-rules-input'
<Form.Item
label='name'
name='name'
rules={[
Rules(5).len,
Rules().require
]}
>
<Input placeholder='name'></Input>
</Form.Item>