UNPKG

shineout

Version:

A components library for React

36 lines (35 loc) 1.21 kB
/// <reference types="react" /> import IForm from './form'; type RefForm = typeof IForm; declare const Button: ((props: import("./interface").SubmitProps) => JSX.Element) & { displayName: string; }; declare const Submit: ((props: import("./interface").SubmitProps) => JSX.Element) & { displayName: string; }; declare const Reset: ((props: import("./interface").SubmitProps) => JSX.Element) & { displayName: string; }; declare const Item: ((props: import("./form.type").FormItemProps) => JSX.Element) & { displayName: string; }; declare const Field: (<T>(props: import("./form.type").FormFieldProps<T>) => JSX.Element) & { displayName: string; }; declare const FieldSet: (<T>(props: import("./form.type").FormFieldSetProps<T>) => JSX.Element) & { displayName: string; }; declare const FormFlow: import("react").FC<import("@sheinx/base").FormFlowProps> & { displayName: string; }; export interface FormComponent extends RefForm { Item: typeof Item; Field: typeof Field; FieldSet: typeof FieldSet; Button: typeof Button; Submit: typeof Submit; Reset: typeof Reset; Flow: typeof FormFlow; } declare const FormComp: FormComponent; export default FormComp;