UNPKG

@omnia/fx-models

Version:
17 lines (16 loc) 443 B
import { EditorCommand } from "./EditorCommand"; export interface EditorMenuBar<T extends EditorCommand> { commands?: T; isActive?: any; getMarkAttrs?: (option: any) => void; focused?: boolean; focus?: () => void; } export interface BubbleMenu { isActive: boolean; left: number; bottom: number; } export interface EditorBubbleMenuBar<T extends EditorCommand> extends EditorMenuBar<T> { menu?: BubbleMenu; }