1
0
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:
Kushagra Gour
2018-10-23 19:56:33 +05:30
parent 03e8e3e463
commit 78468f8a5d
6 changed files with 197 additions and 1 deletions

22
src/commands.js Normal file
View 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'
}
];