UNPKG

dmeditor

Version:

dmeditor is a block-style visual editor. Data is in json format.

18 lines (17 loc) 631 B
import type { DME, DMEData } from '../..'; export interface ImageEntity { src: string; externalId?: string | number; thumbnail?: string; description?: string; settings: DMEData.GeneralSettingType & { borderWidth?: number; borderColor?: string; general?: DMEData.GeneralSettingType; }; } export declare const ImageDefinition: DME.Widget; export declare const Image: (props: DME.WidgetRenderProps<ImageEntity>) => import("react/jsx-runtime").JSX.Element; export declare const Preview: (props: { blockData: DMEData.Block<ImageEntity>; }) => import("react/jsx-runtime").JSX.Element;