@restnfeel/agentc-starter-kit
Version:
한국어 기업용 CMS 모듈 - Task Master AI와 함께 빠르게 웹사이트를 구현할 수 있는 재사용 가능한 컴포넌트 시스템
25 lines • 750 B
TypeScript
interface KeyboardShortcut {
key: string;
ctrlKey?: boolean;
altKey?: boolean;
shiftKey?: boolean;
metaKey?: boolean;
callback: () => void;
description?: string;
}
interface UseKeyboardShortcutsOptions {
enabled?: boolean;
preventDefault?: boolean;
}
export declare function useKeyboardShortcuts(shortcuts: KeyboardShortcut[], options?: UseKeyboardShortcutsOptions): KeyboardShortcut[];
export declare const createAdminShortcuts: (actions: {
onSave?: () => void;
onNew?: () => void;
onSearch?: () => void;
onRefresh?: () => void;
onEscape?: () => void;
onDelete?: () => void;
onUpload?: () => void;
}) => KeyboardShortcut[];
export {};
//# sourceMappingURL=useKeyboardShortcuts.d.ts.map