/* eslint-disable import/extensions */ import hbs from 'htmlbars-inline-precompile'; import { storiesOf } from '@storybook/ember'; import notes from './alert-banner.md'; import { MESSAGE_TYPES } from '../app/helpers/message-types.js'; storiesOf('Alerts/AlertBanner/', module) .addParameters({ options: { showPanel: false } }) .add( 'AlertBanner', () => ({ template: hbs` {{#each types as |type|}}
{{humanize type}}
{{/each}} `, context: { types: Object.keys(MESSAGE_TYPES), message: 'Here is a message.', }, }), { notes } );