UNPKG

@undermuz/react-json-form

Version:
22 lines (19 loc) 895 B
import { I as IJsonFormParams, a as IScheme, F as FieldTests, T as TypeValueItem, b as TypeValue, c as TypeErrorItem, d as IJsonFormRef, D as DefType } from './types-4491bbaa.js'; import * as react from 'react'; import { IErrors } from '@undermuz/use-form'; declare const Form: react.ForwardRefExoticComponent<{ children?: react.ReactNode; } & IJsonFormParams & Partial<Pick<IScheme, "title">> & Pick<IScheme, "id" | "multiple" | "scheme"> & { tests?: FieldTests | undefined; viewType?: string | undefined; level?: number | undefined; fillArrayDefault?: boolean | undefined; } & { def: TypeValueItem; value: TypeValue; level: number; fillArrayDefault?: boolean | undefined; errors: IErrors | TypeErrorItem[]; onError: (e: IErrors | TypeErrorItem[]) => void; } & react.RefAttributes<IJsonFormRef<DefType>>>; export { Form as default };