feat: add story for modal

This commit is contained in:
MAZE 2024-04-27 22:38:45 +03:30
parent f8fb1ed61e
commit 9b7d3c645b

View file

@ -0,0 +1,26 @@
import type { Meta, StoryObj } from '@storybook/react';
import { Modal } from './modal';
const meta: Meta<typeof Modal> = {
component: Modal,
title: 'Modal',
};
export default meta;
type Story = StoryObj<typeof meta>;
export const Default: Story = {
args: {
children: 'Hello World',
show: true,
},
};
export const Wide: Story = {
args: {
...Default.args,
wide: true,
},
};