UNPKG

@lobehub/ui

Version:

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

15 lines (14 loc) 498 B
import type { FormProps } from 'antd'; import { ReactNode } from 'react'; interface FormContentConfig { form?: FormProps['form']; initialValues?: FormProps['initialValues']; submitLoading?: boolean; } export declare const FormContext: import("react").Context<FormContentConfig>; export declare const FormProvider: import("react").NamedExoticComponent<{ children: ReactNode; config: FormContentConfig; }>; export declare const useFormContext: () => FormContentConfig; export {};