@textbus/xnote
Version:
A high-performance rich text editor that supports multiplayer online collaboration.
19 lines (18 loc) • 945 B
TypeScript
import { Component, ComponentStateLiteral, ContentType, Slot, Textbus, ZenCodingGrammarInterceptor } from '@textbus/core';
import { ComponentLoader } from '@textbus/platform-browser';
import { ViewComponentProps } from '@textbus/adapter-viewfly';
import './todolist.component.scss';
export interface TodolistComponentState {
checked: boolean;
slot: Slot;
}
export declare class TodolistComponent extends Component<TodolistComponentState> {
static type: ContentType;
static componentName: string;
static zenCoding: ZenCodingGrammarInterceptor<TodolistComponentState>;
static fromJSON(textbus: Textbus, json: ComponentStateLiteral<TodolistComponentState>): TodolistComponent;
getSlots(): Slot[];
setup(): void;
}
export declare function TodolistView(props: ViewComponentProps<TodolistComponent>): () => import("@viewfly/core/jsx-runtime").JSX.Element;
export declare const todolistComponentLoader: ComponentLoader;