autoforma
Version:
AutoForma is a dynamic form builder based on Mantine and React
8 lines (7 loc) • 310 B
TypeScript
import { UseFormReturnType } from '@mantine/form';
import { FieldSchema } from '../types';
export interface FieldRendererProps<TValues extends Record<string, any> = Record<string, any>> {
field: FieldSchema<TValues>;
form: UseFormReturnType<TValues>;
layout?: "vertical" | "horizontal" | "grid";
}