@textbus/editor
Version:
Textbus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.
16 lines (15 loc) • 593 B
TypeScript
import { ComponentInitData, ComponentInstance, VElement } from '@textbus/core';
import { ComponentLoader } from '@textbus/platform-browser';
export interface ImageComponentLiteral {
src: string;
maxWidth?: string;
maxHeight?: string;
width?: string;
height?: string;
margin?: string;
float?: string;
}
export declare const imageComponent: import("@textbus/core").Component<ComponentInstance<{
render(): VElement;
}, ImageComponentLiteral, unknown>, ComponentInitData<ImageComponentLiteral, unknown>>;
export declare const imageComponentLoader: ComponentLoader;