UNPKG

eapp-amis-theme-editor

Version:

amis主题编辑器

20 lines (19 loc) 532 B
interface componentProps { type: string; label: string; key: string; component: any; } export declare function getComponent(key: string): any; export declare function getAllComponent(): { label: string; key: string; children: componentProps[]; }[]; export declare function hasComponent(name: string): boolean; export declare function registerComponent(key: string, component: componentProps): void; export declare function registerGroup(option: { key: string; label: string; }): void; export {};