/* eslint-disable storybook/await-interactions */ /* eslint-disable storybook/use-storybook-testing-library */ // @TODO: use addon-interactions and remove the rule disable above import React from 'react'; import type { Meta, ComponentStoryFn } from '@storybook/react'; import { screen } from '@testing-library/dom'; import userEvent from '@testing-library/user-event'; import { Button } from './button'; export default { component: Button, title: 'Examples / Button', argTypes: { onClick: { action: 'click ' } }, // render: () => <>hohoho, } as Meta; export const WithArgs: ComponentStoryFn = (args) =>