import type { Meta, StoryObj } from '@storybook/nextjs'
import { Button } from '../Button'
import {
DrawerClose,
DrawerContent,
DrawerDescription,
DrawerPortal,
DrawerRoot,
DrawerTitle,
DrawerTrigger,
} from './Drawer'
const DrawerExample = () => {
return (
Drawer Title
This is a drawer component built with Vaul. You can add any
content here.
)
}
const meta = {
component: DrawerRoot,
parameters: {
docs: {
description: {
component:
'A Vaul Drawer wrapper. Use DrawerRoot, DrawerTrigger, DrawerPortal, DrawerContent, DrawerTitle, DrawerDescription, and DrawerClose together.',
},
},
},
} satisfies Meta
export default meta
type Story = StoryObj
export const Default: Story = {
render: () => ,
}