import {ButtonComponent as Button} from './button.component';
import type {Meta, StoryObj} from '@storybook/react';
import React from 'react';

const meta: Meta<typeof Button> = {
    title: 'Atoms/Button',
    component: Button,
};
export default meta;

type Story = StoryObj<typeof Button>;

export const Default: Story = {
    render: (args) => <Button {...args} data-testid='button' />,
    args: {
        variant: 'contained',
        children: 'Button',
        color: 'primary',
        disabled: false,
        size: 'md',
        isLoading: false,
    },
};
