mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-01 05:05:25 +08:00
10 lines
240 B
JavaScript
10 lines
240 B
JavaScript
import centered from '@storybook/addon-centered/html';
|
|
|
|
export default {
|
|
title: 'Addons/Centered',
|
|
decorators: [centered],
|
|
};
|
|
|
|
export const story1 = () => '<button>I am a Button !</button>';
|
|
story1.story = { name: 'button in center' };
|