import {ModalComponent as Modal} from './modal.component';
import type {Meta, StoryObj} from '@storybook/react';
import React from 'react';

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

type Story = StoryObj<typeof Modal>;

export const Default: Story = {
    render: (args) => <Modal {...args} data-testid='modal' />,
    args: {
        open: false,
        onClose: () => {},
        children: <div>test</div>,
    },
};
