import React from 'react'; import { Map, List } from 'immutable'; import { Plugin } from '../EditorCore'; import { EditorState } from 'draft-js'; export interface ToolbarProps { plugins: List; toolbars: any[]; prefixCls: string; className: string; editorState: EditorState; } export default class Toolbar extends React.Component { pluginsMap: Map; constructor(props: any); renderToolbarItem(pluginName: any, idx: any): any; conpomentWillReceiveProps(nextProps: any): void; render(): any; }