Added navigation drawer with list of collections. Closes #71

This commit is contained in:
Andrey Okonetchnikov
2016-09-16 15:00:05 +02:00
parent eb187e1f05
commit cc80ef4a29
2 changed files with 54 additions and 5 deletions

View File

@ -10,6 +10,10 @@ export function run(commandName, payload) {
return { type: RUN_COMMAND, command: commandName, payload };
}
export function navigateToCollection(collectionName) {
return runCommand(SHOW_COLLECTION, { collectionName });
}
export function createNewEntryInCollection(collectionName) {
return runCommand(CREATE_COLLECTION, { collectionName });
}