mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-31 05:03:21 +08:00
7 lines
234 B
JavaScript
7 lines
234 B
JavaScript
import { storiesOf } from '@storybook/html';
|
|
import centered from '@storybook/addon-centered/html';
|
|
|
|
storiesOf('Addons|Centered', module)
|
|
.addDecorator(centered)
|
|
.add('button in center', () => '<button>I am a Button !</button>');
|