mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 15:31:16 +08:00
9 lines
319 B
TypeScript
9 lines
319 B
TypeScript
import React from 'react';
|
|
import { EmojiButton } from './emoji-button';
|
|
|
|
export default { component: EmojiButton, title: 'Examples / Emoji Button' };
|
|
|
|
export const WithArgs = (args: any) => <EmojiButton {...args} />;
|
|
WithArgs.args = { label: 'With args' };
|
|
export const Basic = () => <EmojiButton label="Click me" />;
|