import React from 'react'; import type { Meta, StoryObj } from '@storybook/react-vite'; import { DaisyDrawer } from './DaisyDrawer'; const meta: Meta = { title: 'daisy/DaisyDrawer', component: DaisyDrawer.Root, parameters: { layout: 'centered', }, tags: ['autodocs'], }; export default meta; type Story = StoryObj; export const Basic: Story = { render: () => ( Open Drawer Drawer Title This is a description of the drawer content.

This is the main content of the drawer.

It slides in from the right side of the screen.

), }; export const WithCustomContent: Story = { render: () => ( Open Settings Settings
), }; export const Navigation: Story = { render: () => ( Menu Navigation ), };