@fruits-chain/react-native-xiaoshu
Version:
React Native UI library
20 lines (19 loc) • 912 B
TypeScript
/// <reference types="react" />
import { FormInstance, Field, List, FormProvider, ListContext } from 'rc-field-form';
import type { Rule, RuleObject, RuleRender } from 'rc-field-form/lib/interface';
import type { ListProps } from 'rc-field-form/lib/List';
import InternalForm from './form';
import useForm from './useForm';
import type { FormProps, FormItemProps } from './interface';
declare type InternalFormType = typeof InternalForm;
interface FormInterface extends InternalFormType {
useForm: typeof useForm;
Item: typeof Field;
List: typeof List;
Provider: typeof FormProvider;
}
declare const Form: FormInterface;
declare const FormItemContext: import("react").Context<import("rc-field-form/es/interface").InternalFormInstance>;
export type { FormInstance, FormProps, FormItemProps, ListProps, Rule, RuleObject, RuleRender, };
export { FormItemContext, ListContext };
export default Form;