UNPKG

@wangeditor-kai/yjs-for-react

Version:

React specific components/utils for wangeditor-next-yjs.

14 lines (13 loc) 439 B
/** * @description render list elem * @author wangfupeng */ import { IDomEditor } from '@wangeditor-next/core'; import { Element as SlateElement } from 'slate'; import { VNode } from 'snabbdom'; declare function renderListElem(elemNode: SlateElement, children: VNode[] | null, editor: IDomEditor): VNode; declare const renderListItemConf: { type: string; renderElem: typeof renderListElem; }; export default renderListItemConf;