storybook/examples/ember-cli/stories/addon-centered.stories.js
2018-10-03 00:50:39 -07:00

10 lines
290 B
JavaScript

import hbs from 'htmlbars-inline-precompile';
import { storiesOf } from '@storybook/ember';
import Centered from '@storybook/addon-centered/ember';
storiesOf('Addon|Centered', module)
.addDecorator(Centered)
.add('button', () => ({
template: hbs`<button>A Button</button>`,
}));