@textbus/editor
Version:
Textbus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.
15 lines (14 loc) • 566 B
TypeScript
import { ComponentInitData, ComponentInstance, VElement } from '@textbus/core';
import { ComponentLoader } from '@textbus/platform-browser';
export interface VideoState {
src: string;
autoplay: boolean;
controls: boolean;
width: string;
height: string;
}
export declare const videoComponent: import("@textbus/core").Component<ComponentInstance<{
render(): VElement;
mergeProps(props: Partial<VideoState>): void;
}, VideoState, unknown>, ComponentInitData<VideoState, unknown>>;
export declare const videoComponentLoader: ComponentLoader;