UNPKG

react-forminate

Version:

React.js + Typescript package that creates dynamic UI forms based on the JSON schema

13 lines (12 loc) 488 B
import { DynamicFormType } from '../../types'; import { default as React } from 'react'; interface FormContentProps extends DynamicFormType { onSubmit?: (values: any, isValid: boolean) => void; isLoading?: boolean; } /** * FormContent component - Renders a dynamic form with fields, loading states, and submission handling * Optimized for performance with memoization and reduced re-renders */ declare const FormContent: React.FC<FormContentProps>; export default FormContent;