mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 22:21:27 +08:00
18 lines
309 B
TypeScript
18 lines
309 B
TypeScript
import globalThis from 'global';
|
|
|
|
export default {
|
|
component: globalThis.Components.Button,
|
|
args: {
|
|
children: 'Click Me!',
|
|
},
|
|
parameters: {
|
|
chromatic: { disable: true },
|
|
},
|
|
};
|
|
|
|
export const Basic = {
|
|
parameters: {
|
|
handles: [{ click: 'clicked', contextmenu: 'right clicked' }],
|
|
},
|
|
};
|