UNPKG

antd-fx67ll-test

Version:

这是一个测试着玩的私服antd项目,完全照抄v4.16.6的antd源码,请勿使用,仅做发布测试(因每次发布必须要升版本,如发现版本出入请忽略,与官方无关)

20 lines (19 loc) 849 B
import { Rule, RuleObject, RuleRender } from 'rc-field-form/lib/interface'; import InternalForm, { useForm, FormInstance, FormProps } from './Form'; import Item, { FormItemProps } from './FormItem'; import ErrorList, { ErrorListProps } from './ErrorList'; import List, { FormListProps } from './FormList'; import { FormProvider } from './context'; declare type InternalFormType = typeof InternalForm; interface FormInterface extends InternalFormType { useForm: typeof useForm; Item: typeof Item; List: typeof List; ErrorList: typeof ErrorList; Provider: typeof FormProvider; /** @deprecated Only for warning usage. Do not use. */ create: () => void; } declare const Form: FormInterface; export { FormInstance, FormProps, FormItemProps, ErrorListProps, Rule, RuleObject, RuleRender, FormListProps, }; export default Form;