UNPKG

@undermuz/react-json-form

Version:
16 lines (13 loc) 552 B
import { FC, PropsWithChildren } from 'react'; import { j as ISchemeItem, G as IChildFormsSetRef } from '../types-4491bbaa.js'; import '@undermuz/use-form'; type IFormFieldProps = ISchemeItem & { isLast?: boolean; isFormPrimary: boolean; level: number; as?: any; onFormsRef?: IChildFormsSetRef; }; type IFormFieldCustomProps<T = unknown> = Record<string, T>; declare const FormField: FC<PropsWithChildren & IFormFieldProps & IFormFieldCustomProps>; export { IFormFieldCustomProps, IFormFieldProps, FormField as default };