UNPKG

@magicbe/design

Version:

React + Antd Drag Drop Visual design

18 lines (17 loc) 670 B
import { WidgetFunctionComponent } from "../widgets/types"; export interface Schema { uuid: string; widget: string; group?: string; properties: any; title: string; parent?: string; } export declare class SchemaUtil { private static widgets; static generatorId(): string; static setWidgets(widgets: WidgetFunctionComponent[]): void; static getWidgets(): WidgetFunctionComponent<{}>[]; static createSchemas(component?: Record<string, any>, parent?: string, properties?: Record<string, any>): Schema[]; static createSchemas(component?: WidgetFunctionComponent, parent?: string, properties?: Record<string, any>): Schema[]; }