import type { Meta, StoryObj } from '@storybook/react'; import { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, } from './drawer'; import { Button } from '../button'; import React from 'react'; const meta: Meta = { title: 'UI/Drawer', component: Drawer, render: args => , argTypes: { open: { control: 'boolean', description: 'Whether the drawer is open.', }, dismissible: { control: 'boolean', description: 'Whether the drawer can be dismissed by clicking outside.', defaultValue: true, }, direction: { control: 'select', options: ['top', 'bottom', 'left', 'right'], description: 'The direction the drawer slides from.', defaultValue: 'bottom', }, }, }; export default meta; type Story = StoryObj; export const Default: Story = { render: args => (
Move Goal Set your daily activity goal.
350
Calories/day
), };