UNPKG

@textbus/xnote

Version:

A high-performance rich text editor that supports multiplayer online collaboration.

18 lines (17 loc) 804 B
import { Component, ComponentStateLiteral, ContentType, Textbus } from '@textbus/core'; import { ViewComponentProps } from '@textbus/adapter-viewfly'; import { ComponentLoader } from '@textbus/platform-browser'; import './video.component.scss'; export interface VideoComponentState { src: string; width?: string; height?: string; } export declare class VideoComponent extends Component<VideoComponentState> { static type: ContentType; static componentName: string; static fromJSON(_: Textbus, json: ComponentStateLiteral<VideoComponentState>): VideoComponent; getSlots(): never[]; } export declare function VideoView(props: ViewComponentProps<VideoComponent>): () => import("@viewfly/core/jsx-runtime").JSX.Element; export declare const videoComponentLoader: ComponentLoader;