import { Meta, StoryObj } from '@storybook/react'; import { Modal } from 'components/shared/Modal'; import { Button } from 'components/shared/Button'; const meta: Meta = { component: Modal, title: 'Components/Modal', tags: ['autodocs'], argTypes: { children: { control: 'object', }, hasCloseButton: { type: 'boolean', }, hasOverlay: { type: 'boolean', }, preventClickOutsideToClose: { type: 'boolean', }, fullPage: { type: 'boolean', }, }, args: { hasCloseButton: true, hasOverlay: true, preventClickOutsideToClose: false, fullPage: false, }, }; export default meta; type Story = StoryObj; export const Default: Story = { render: () => { return ( Modal title

Modal content

); }, };