Command ids

This commit is contained in:
Cássio Zen 2016-07-08 07:17:53 -03:00
parent b2740feef7
commit c7033a614e

View File

@ -4,13 +4,13 @@ import { storiesOf, action } from '@kadira/storybook';
import { FindBar } from '../FindBar'; import { FindBar } from '../FindBar';
const commands = [ const commands = [
{ pattern: 'Create new Collection(:collectionName)' }, { id:'CREATE_COLLECTION', pattern: 'Create new Collection(:collectionName)' },
{ pattern: 'Create new Post(:postName)' }, { id:'CREATE_POST', pattern: 'Create new Post(:postName)' },
{ pattern: 'Create new Article(:articleName)' }, { id:'CREATE_ARTICLE', pattern: 'Create new Article(:articleName)' },
{ pattern: 'Create new FAQ item(:faqName as FAQ item name)' }, { id:'CREATE_FAQ', pattern: 'Create new FAQ item(:faqName as FAQ item name)' },
{ pattern: 'Add news item(:headline)' }, { id:'ADD_NEWS', pattern: 'Add news item(:headline)' },
{ pattern: 'Add new User(:userName as User name)' }, { id:'ADD_USER', pattern: 'Add new User(:userName as User name)' },
{ pattern: 'Go to Settings' }, { id:'OPEN_SETTINGS', pattern: 'Go to Settings' },
]; ];
const style = { const style = {