docs: Update FormComponentProps import path

This commit is contained in:
Wei Zhu 2017-12-19 14:30:56 +08:00
parent d7d39aa9fb
commit 9a022b8aac
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;