UNPKG

vs-form-mui-4x

Version:

A schema-based form generator component for React using material-ui 4.x

19 lines (18 loc) 735 B
import { Component } from './schemaManager/enums'; export interface IRegisteredComponent { component: any; defaultStyle?: any; } export declare const getRegisteredComponentList: () => IRegisteredComponents; interface IRegisteredComponents { standard: { [key: string]: IRegisteredComponent; }; custom: { [key: string]: IRegisteredComponent; }; } export declare const registerComponent: (type: Component, component: any, defaultStyle?: any) => void; export declare const registerCustomComponent: (name: string, component: any, defaultStyle?: any) => void; export declare const getRegisteredComponent: (type: Component, name?: string) => Promise<IRegisteredComponent>; export {};