提交 9a022b8a 编写于 作者: W Wei Zhu

docs: Update FormComponentProps import path

上级 d7d39aa9
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册