/* eslint-disable import/extensions */ import hbs from 'htmlbars-inline-precompile'; import { storiesOf } from '@storybook/ember'; import { withKnobs, select, text } from '@storybook/addon-knobs'; import notes from './toolbar-secret-link.md'; storiesOf('Toolbar/', module) .addParameters({ options: { showPanel: true } }) .addDecorator(withKnobs()) .add(`ToolbarSecretLink`,() => ({ template: hbs`
ToolbarLink
{{label}}
`, context: { type: select('Type', ['', 'add']), label: text('Button text', 'Edit role'), }, }), {notes} );