mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 20:19:44 +08:00
fix: form control-ref.md typescript error (#30885)
https://github.com/ant-design/ant-design/pull/30829#issuecomment-855211477
This commit is contained in:
parent
7a3bf8287f
commit
2142180090
@ -15,7 +15,7 @@ We recommend use `Form.useForm` to create data control. If you are using class c
|
||||
|
||||
```tsx
|
||||
import { Form, Input, Button, Select } from 'antd';
|
||||
import { FormInstance } from 'antd/lib/form';
|
||||
import { FormInstance } from 'antd/es/form';
|
||||
|
||||
const { Option } = Select;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user