mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 05:29:37 +08:00
Update Form typescript definition (#17652)
This commit is contained in:
parent
7b2a8fdf03
commit
a57a2f754d
@ -81,7 +81,7 @@ const InternalForm: React.FC<FormProps> = (props, ref) => {
|
||||
);
|
||||
};
|
||||
|
||||
const Form = React.forwardRef<FormInstance>(InternalForm);
|
||||
const Form = React.forwardRef<FormInstance, FormProps>(InternalForm);
|
||||
|
||||
export { useForm, List, FormInstance };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user