mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 07:21:16 +08:00
19 lines
460 B
TypeScript
19 lines
460 B
TypeScript
import React from 'react';
|
|
import { DocsProvider, Meta, Story } from './blocks';
|
|
|
|
import meta, { WithArgs, Basic } from './components/button.stories';
|
|
import EmojiMeta, { WithArgs as EmojiWithArgs } from './components/emoji-button.stories';
|
|
|
|
export default () => (
|
|
<DocsProvider>
|
|
<div>
|
|
<Meta of={meta} />
|
|
|
|
<Story of={WithArgs} />
|
|
<Story of={Basic} />
|
|
|
|
<Story of={EmojiWithArgs} meta={EmojiMeta} />
|
|
</div>
|
|
</DocsProvider>
|
|
);
|