mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 03:29:59 +08:00
docs: Update FormComponentProps import path
This commit is contained in:
parent
d7d39aa9fb
commit
9a022b8aac
@ -168,7 +168,7 @@ See more advanced usage at [async-validator](https://github.com/yiminghe/async-v
|
||||
|
||||
```jsx
|
||||
import { Form } from 'antd';
|
||||
import { FormComponentProps } from 'antd/lib/form/Form';
|
||||
import { FormComponentProps } from 'antd/lib/form';
|
||||
|
||||
interface UserFormProps extends FormComponentProps {
|
||||
age: number;
|
||||
|
@ -169,7 +169,7 @@ CustomizedForm = Form.create({})(CustomizedForm);
|
||||
|
||||
```jsx
|
||||
import { Form } from 'antd';
|
||||
import { FormComponentProps } from 'antd/lib/form/Form';
|
||||
import { FormComponentProps } from 'antd/lib/form';
|
||||
|
||||
interface UserFormProps extends FormComponentProps {
|
||||
age: number;
|
||||
|
Loading…
Reference in New Issue
Block a user