mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-18 04:21:12 +02:00
Command pallete: first draft!
This commit is contained in:
22
src/commands.js
Normal file
22
src/commands.js
Normal file
@@ -0,0 +1,22 @@
|
||||
import {
|
||||
OPEN_SAVED_CREATIONS_EVENT,
|
||||
SAVE_EVENT
|
||||
} from './commandPaletteService';
|
||||
|
||||
export const commands = [
|
||||
{
|
||||
name: 'Open Creation',
|
||||
event: OPEN_SAVED_CREATIONS_EVENT,
|
||||
keyboardShortcut: 'Cmd+O'
|
||||
},
|
||||
{
|
||||
name: 'Save Creation',
|
||||
event: SAVE_EVENT,
|
||||
keyboardShortcut: 'Cmd+S'
|
||||
},
|
||||
{
|
||||
name: 'Add Library',
|
||||
run: '',
|
||||
keyboardShortcut: 'Cmd+F'
|
||||
}
|
||||
];
|
Reference in New Issue
Block a user