dmeditor
Version:
dmeditor is a block-style visual editor. Data is in json format.
21 lines (20 loc) • 691 B
TypeScript
import type { DME, DMEData } from '../..';
export interface ImageEntity {
src: string;
externalId?: string | number;
thumbnail?: string;
description?: string;
link?: string;
settings: {
linkNewTab?: boolean;
borderWidth?: number | string;
borderColor?: string;
borderRadius?: number;
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;