2022-08-02 10:25:16 +10:00

15 lines
269 B
TypeScript

import globalThis from 'global';
import { action } from '@storybook/addon-actions';
export default {
component: globalThis.Components.Button,
args: {
children: 'Click Me!',
},
};
export const BasicExample = {
args: { onClick: action('hello-world') },
};