UNPKG

@expofp/floorplan

Version:

Interactive floor plan library for expos and events

26 lines 854 B
export interface ShortcutConfig { id: string; label?: string; icon?: string; enabled: boolean; active: boolean; action: "toggle" | "custom"; tooltip?: string; badge?: string | number; variant?: "default" | "primary" | "secondary"; showResetButton?: boolean; } export interface ShortcutProvider { readonly id: string; createShortcuts(): ShortcutConfig[]; handleShortcutClick(shortcutId: string): void; handleShortcutReset?(shortcutId: string): void; shouldShowShortcuts?(): boolean; } export declare abstract class BaseShortcutProvider implements ShortcutProvider { abstract readonly id: string; abstract createShortcuts(): ShortcutConfig[]; abstract handleShortcutClick(shortcutId: string): void; shouldShowShortcuts?(): boolean; } //# sourceMappingURL=ShortcutProvider.d.ts.map