mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 16:11:33 +08:00
10 lines
290 B
JavaScript
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>`,
|
|
}));
|