/* eslint-disable import/extensions */ import hbs from 'htmlbars-inline-precompile'; import { storiesOf } from '@storybook/ember'; import { withKnobs, select } from '@storybook/addon-knobs'; import notes from './toolbar.md'; storiesOf('Toolbar/', module) .addParameters({ options: { showPanel: true } }) .addDecorator(withKnobs()) .add(`Toolbar`, () => ({ template: hbs`
Toolbar
Example for list views
Add item
Example for show views
Delete Edit
Example for code editor
Copy
`, context: { example: select('Example', ['List', 'Show', 'Code editor'], 'List'), }, }), {notes} );