diff --git a/components/form/index.en-US.md b/components/form/index.en-US.md index e37be36f6b..6b5b506353 100644 --- a/components/form/index.en-US.md +++ b/components/form/index.en-US.md @@ -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; diff --git a/components/form/index.zh-CN.md b/components/form/index.zh-CN.md index 0872373d0e..793d108fbd 100644 --- a/components/form/index.zh-CN.md +++ b/components/form/index.zh-CN.md @@ -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;