clinical-template-editor-hzg
Version:
一个基于 React 和 TipTap 构建的临床模板编辑器组件,专为医疗行业设计
18 lines (17 loc) • 652 B
TypeScript
import React from 'react';
interface EditorToolbarProps {
editor: any;
executeCommand: (command: string, value?: any) => void;
showFontColorPanel: boolean;
setShowFontColorPanel: (v: boolean) => void;
showBgColorPanel: boolean;
setShowBgColorPanel: (v: boolean) => void;
setShowTableConfigModal: (v: boolean) => void;
setShowTableBorderModal: (v: boolean) => void;
setShowDropdownModal: (v: boolean) => void;
activeMenuItem: string;
setActiveMenuItem: (id: string) => void;
handleMenuClick: (id: string) => void;
}
declare const EditorToolbar: React.FC<EditorToolbarProps>;
export default EditorToolbar;