el-form-react
Version:
React form components and hooks powered by Zod validation
9 lines (6 loc) • 540 B
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
import { A as AutoFormProps } from './types-CN_tT4fY.js';
export { b as AutoFormErrorProps, d as AutoFormFieldConfig, c as AutoFormFieldProps, C as ComponentMap, F as FieldType } from './types-CN_tT4fY.js';
import 'zod';
declare function AutoForm<T extends Record<string, any>>({ schema, fields, initialValues, layout, columns, onSubmit, onError, children, customErrorComponent, componentMap, }: AutoFormProps<T>): react_jsx_runtime.JSX.Element;
export { AutoForm, AutoFormProps };