import type { Meta, StoryObj } from '@storybook/react'; import { Sheet, SheetContent, SheetDescription, SheetBody, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, SheetClose, } from './sheet'; import { Button } from '../button'; import { Input } from '../input'; import { Label } from '../label'; import React from 'react'; const meta: Meta = { title: 'UI/Sheet', component: Sheet, render: args => , argTypes: { open: { control: 'boolean', description: 'Whether the sheet is open.', }, modal: { control: 'boolean', description: 'Whether the sheet should be modal.', defaultValue: true, }, }, }; export default meta; type Story = StoryObj; export const Default: Story = { render: args => ( Edit profile Make changes to your profile here. Click save when you're done.
), }; export const SideBySide: Story = { render: () => (
{(['top', 'bottom', 'left', 'right'] as const).map(side => ( Edit profile This sheet pops out from the {side}. ))}
), };