import type { Meta, StoryObj } from '@storybook/react' import { AlertDialog, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogTitle, AlertDialogDescription, AlertDialogFooter, AlertDialogAction, AlertDialogCancel, } from '@/components/ui/alert-dialog' import { Button } from '@/components/ui/button' const meta = { title: 'Overlay/AlertDialog', component: AlertDialog, tags: ['autodocs'], parameters: { layout: 'centered' }, } satisfies Meta export default meta type Story = StoryObj export const Default: Story = { render: () => ( Are you absolutely sure? This action cannot be undone. This will permanently delete your account and remove your data from our servers. Cancel Continue ), } export const Destructive: Story = { render: () => ( Delete project? This will permanently delete the project and all associated data. This action cannot be reversed. Cancel Yes, delete project ), }