chore: Export Rule interface (#21411)

This commit is contained in:
二货机器人 2020-02-17 15:28:23 +08:00 committed by GitHub
parent a875bfd28c
commit a90aa25b1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,4 @@
import { Rule } from 'rc-field-form/lib/interface';
import InternalForm, { useForm, FormInstance, FormProps } from './Form';
import Item, { FormItemProps } from './FormItem';
import List from './FormList';
@ -29,6 +30,6 @@ Form.create = () => {
);
};
export { FormInstance, FormProps, FormItemProps };
export { FormInstance, FormProps, FormItemProps, Rule };
export default Form;