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