UNPKG

@vs-form/vs-form

Version:

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

19 lines (18 loc) 759 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 | undefined) => Promise<IRegisteredComponent | undefined>; export {};