Skip to content

Commit

Permalink
refine words
Browse files Browse the repository at this point in the history
  • Loading branch information
nanxiaobei committed Apr 10, 2024
1 parent 1b7d1fd commit 317d85e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ English · [简体中文](./README.zh-CN.md)
`antx` provides a set of `antd` mixed field components:

**1. Say goodbye to cumbersome `<Form.Item>` and `rules`**
Directly write on field components (e.g. `Input`) with `Form.Item` props and field props (**Full TypeScript support**), which greatly simplifies the code.
Directly write on field components (e.g. `Input`) with `Form.Item` props and field props (**fully TypeScript support**), which greatly simplifies the code.

**2. String `rules` (only enhanced, original `rules` are also supported)**
`rules` in string, for example `rules={['required', 'max=10']}` represents for `rules={[{ required: true }, { max: 10 }]}`.
Expand Down

0 comments on commit 317d85e

Please sign in to comment.