@wangeditor-next/editor-for-react
Version:
wangEditor next editor for react
16 lines (15 loc) • 436 B
TypeScript
/**
* @description toolbar react component
* @author wangfupeng
*/
import * as wangEditor from '@wangeditor-next/editor';
import React from 'react';
interface IProps {
editor: wangEditor.IDomEditor | null;
defaultConfig?: Partial<wangEditor.IToolbarConfig>;
mode?: string;
style?: object;
className?: string;
}
declare function ToolbarComponent(props: IProps): React.JSX.Element;
export default ToolbarComponent;