/// export interface ToolbarItemPropTypes { type: string; editor: any; prefixCls?: string; } export interface BasicPropTypes { prefixCls?: string; type: string; icon: string; onMouseDown: (event: React.MouseEvent, type: string) => void; isActive?: (type: string) => boolean; disabled?: boolean; } export interface ToolbarPropTypes { editor: any; className?: string; toolbar: string[]; extendTool?: (editor: any) => React.ReactElement[]; }