1 | import { Rule, RuleObject, RuleRender } from 'rc-field-form/lib/interface';
|
2 | import InternalForm, { useForm, FormInstance, FormProps } from './Form';
|
3 | import Item, { FormItemProps } from './FormItem';
|
4 | import ErrorList, { ErrorListProps } from './ErrorList';
|
5 | import List, { FormListProps } from './FormList';
|
6 | import { FormProvider } from './context';
|
7 | declare type InternalFormType = typeof InternalForm;
|
8 | interface FormInterface extends InternalFormType {
|
9 | useForm: typeof useForm;
|
10 | Item: typeof Item;
|
11 | List: typeof List;
|
12 | ErrorList: typeof ErrorList;
|
13 | Provider: typeof FormProvider;
|
14 |
|
15 | create: () => void;
|
16 | }
|
17 | declare const Form: FormInterface;
|
18 | export { FormInstance, FormProps, FormItemProps, ErrorListProps, Rule, RuleObject, RuleRender, FormListProps, };
|
19 | export default Form;
|