import type { Meta, StoryObj } from '@storybook/react-vite'; import { DialogTrigger } from 'react-aria-components/Dialog'; import { AlertDialog } from './AlertDialog'; import { Button } from './Button'; import { Modal } from './Modal'; const meta: Meta = { component: AlertDialog, parameters: { layout: 'centered', }, tags: ['autodocs'], decorators: [ (Story) => ( ), ], argTypes: {}, args: { title: 'Delete folder', children: 'Are you sure you want to delete "Documents"? All contents will be permanently destroyed.', variant: 'destructive', actionLabel: 'Delete', }, }; export default meta; type Story = StoryObj; export const Example: Story = {};