diff --git a/front/src/modules/ui/modal/components/__stories__/Modal.stories.tsx b/front/src/modules/ui/modal/components/__stories__/Modal.stories.tsx new file mode 100644 index 0000000000..8fd2ebc05c --- /dev/null +++ b/front/src/modules/ui/modal/components/__stories__/Modal.stories.tsx @@ -0,0 +1,35 @@ +import styled from '@emotion/styled'; +import { Meta, StoryObj } from '@storybook/react'; + +import { ComponentDecorator } from '~/testing/decorators/ComponentDecorator'; + +import { Modal } from '../Modal'; + +const meta: Meta = { + title: 'UI/Modal/Modal', + component: Modal, + decorators: [ComponentDecorator], +}; +export default meta; + +type Story = StoryObj; + +const StyledContentContainer = styled.div` + color: ${({ theme }) => theme.font.color.primary}; + margin: 5px; + padding: ${({ theme }) => theme.spacing(10)}; +`; + +const args = { + isOpen: true, + children: Lorem ipsum, +}; + +export const Default: Story = { + args, + decorators: [ComponentDecorator], +}; + +Default.argTypes = { + children: { control: false }, +};