import { useState } from 'react' import { Button, Typography } from '@mui/material' import { Meta, StoryObj } from '@storybook/react' import SwipeableDrawer from '..' import { SwipeableDrawerProps } from '../types' const meta: Meta = { title: '@baseapp-frontend | designSystem/Drawers/SwipeableDrawer', component: SwipeableDrawer, } export default meta type Story = StoryObj const SwipeableDrawerTemplate = (args: any) => { const [open, setOpen] = useState(false) const handleOpen = () => { setOpen(true) } const handleClose = () => { setOpen(false) } return ( <> This is the content of the Swipeable Drawer. You can put any components or content here. ) } export const Default: Story = { render: (args) => , args: { open: false, globalHeight: `calc(25% - 56px)`, }, }