import type { Meta, StoryObj } from '@storybook/react-vite'; import { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, } from './drawer'; import { Button } from '../button/button'; const meta = { title: 'Components/Drawer', component: Drawer, parameters: { layout: 'centered', docs: { description: { component: 'Edge sheet with drag-to-dismiss, built on the same Radix primitive as Dialog. The touch-native counterpart to Dialog — a common pattern is Drawer below `md` and Dialog above it, using `useIsMobile()` from the `hooks` subpath.', }, }, }, tags: ['autodocs'], } satisfies Meta; export default meta; type Story = StoryObj; export const Default: Story = { render: () => ( Move to folder Drag the handle down to dismiss.
Folder picker goes here.
), }; export const FromRight: Story = { render: () => ( Activity Recent changes in this project. ), };