@undermuz/react-json-form
Version:
Generate JSON-based forms with react
16 lines (13 loc) • 552 B
TypeScript
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 };