storybook/code/addons/actions/template/stories/parameters.stories.ts
Norbert de Langen 2353040163
fixes
2022-10-27 17:00:20 +02:00

20 lines
401 B
TypeScript

import globalThis from 'global';
import { withActions } from '@storybook/addon-actions/decorator';
export default {
component: globalThis.Components.Button,
args: {
label: 'Click Me!',
},
parameters: {
chromatic: { disable: true },
},
};
export const Basic = {
parameters: {
handles: [{ click: 'clicked', contextmenu: 'right clicked' }],
},
decorators: [withActions],
};