dmeditor
Version:
dmeditor is a block-style visual editor. Data is in json format.
12 lines (11 loc) • 733 B
TypeScript
import * as React from 'react';
declare function registerSettingComponent(propName: string, componentInstance: React.ComponentType<any>, widget?: string): void;
declare function getSettingComponent(propName: string): React.ComponentType<unknown> | React.LazyExoticComponent<React.ComponentType<unknown>>;
declare function getAllSettingComponents(): {
[index: string]: React.ComponentType<unknown> | React.LazyExoticComponent<React.ComponentType<unknown>>;
};
export { getAllSettingComponents, getSettingComponent, registerSettingComponent };
declare const _default: React.MemoExoticComponent<({ settingComponent, ...rest }: {
settingComponent: string;
}) => import("react/jsx-runtime").JSX.Element>;
export default _default;