UNPKG

@wangeditor-next/editor

Version:
21 lines (20 loc) 542 B
/** * @description render todo * @author wangfupeng */ import { IDomEditor } from '@wangeditor-next/core'; import { Element as SlateElement } from 'slate'; import { VNode } from 'snabbdom'; /** * render todo elem * @param elemNode slate elem * @param children children * @param editor editor * @returns vnode */ declare function renderTodo(elemNode: SlateElement, children: VNode[] | null, editor: IDomEditor): VNode; declare const renderTodoConf: { type: string; renderElem: typeof renderTodo; }; export { renderTodoConf };