@wangeditor-next/editor-for-react
Version:
wangEditor component for React
16 lines (15 loc) • 451 B
TypeScript
/**
* @description toolbar react component
* @author wangfupeng
*/
import React from 'react';
import * as wangEditor from '@wangeditor-next/editor';
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;