UNPKG

@lobehub/ui

Version:

Lobe UI is an open-source UI component library for building AIGC web apps

31 lines • 2.32 kB
import { FlexBasicProps } from "../../Flex/type.mjs"; import "../../index.mjs"; import { FormDividerProps, FormFlatGroupProps, FormGroupProps, FormSubmitFooterProps, FormTitleProps } from "../Form/type.mjs"; import { FieldValidate, StandardSchema } from "./schema.mjs"; import { DeepPartial, FieldBinding, FieldPath, FieldPathValue, FieldRenderProps, FormFieldProps, FormGroupItem, FormInstance, FormProps, FormValidateResult, FormValues, SetValueOptions, UseFormOptions } from "./type.mjs"; import "../index.mjs"; import FormList, { FormListColumn, FormListField, FormListProps, FormListRenderProps } from "./List.mjs"; import _default from "./Field.mjs"; import SubmitFooter from "./SubmitFooter.mjs"; import { useFormInstance } from "./context.mjs"; import { useForm } from "./useForm.mjs"; import { useWatch } from "./useWatch.mjs"; //#region src/base-ui/FormKit/index.d.ts declare const Form: { <T extends FormValues>({ activeKey, children, className, classNames, collapsible, defaultActiveKey, footer, form, gap, itemMinWidth, items, itemsType, layout, onCollapse, ref, style, styles: customStyles, variant, ...rest }: FormProps<T>): import("react").JSX.Element; displayName: string; } & { Divider: import("react").FC<FormDividerProps>; Field: (<T extends FormValues = FormValues>(props: FormFieldProps<T>) => import("react").ReactNode) & { displayName?: string; }; FlatGroup: import("react").NamedExoticComponent<FormFlatGroupProps>; Footer: import("react").FC<FlexBasicProps>; Group: import("react").NamedExoticComponent<FormGroupProps>; List: import("react").NamedExoticComponent<FormListProps>; SubmitFooter: import("react").NamedExoticComponent<FormSubmitFooterProps>; Title: import("react").FC<FormTitleProps>; }; //#endregion export { type DeepPartial, type FieldBinding, type FieldPath, type FieldPathValue, type FieldRenderProps, type FieldValidate, Form, Form as default, _default as FormField, type FormFieldProps, type FormGroupItem, type FormInstance, FormList, type FormListColumn, type FormListField, type FormListProps, type FormListRenderProps, type FormProps, SubmitFooter as FormSubmitFooter, type FormValidateResult, type FormValues, type SetValueOptions, type StandardSchema, type UseFormOptions, useForm, useFormInstance, useWatch }; //# sourceMappingURL=index.d.mts.map