storybook/examples/html-kitchen-sink/stories/addon-centered.stories.js
2019-06-24 00:39:54 +08:00

10 lines
230 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.title = 'button in center';