@data-driven-forms/react-form-renderer
Version:
React Form Renderer. Data Driven Forms converts JSON form definitions into fully functional React forms.
12 lines (8 loc) • 360 B
TypeScript
import { AnyObject } from "./any-object";
export interface ExtendedMapperComponent extends AnyObject {
component: React.ComponentType | React.FunctionComponent | React.ElementType;
}
interface ComponentMapper {
[key: string]: React.ComponentType | React.FunctionComponent | React.ElementType | ExtendedMapperComponent;
}
export default ComponentMapper;