mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 07:56:28 +08:00
chore: Export Rule interface (#21411)
This commit is contained in:
parent
a875bfd28c
commit
a90aa25b1b
@ -1,3 +1,4 @@
|
|||||||
|
import { Rule } from 'rc-field-form/lib/interface';
|
||||||
import InternalForm, { useForm, FormInstance, FormProps } from './Form';
|
import InternalForm, { useForm, FormInstance, FormProps } from './Form';
|
||||||
import Item, { FormItemProps } from './FormItem';
|
import Item, { FormItemProps } from './FormItem';
|
||||||
import List from './FormList';
|
import List from './FormList';
|
||||||
@ -29,6 +30,6 @@ Form.create = () => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export { FormInstance, FormProps, FormItemProps };
|
export { FormInstance, FormProps, FormItemProps, Rule };
|
||||||
|
|
||||||
export default Form;
|
export default Form;
|
||||||
|
Loading…
Reference in New Issue
Block a user