import type { Meta, StoryObj } from '@storybook/react';
import {
AlertDialog,
AlertDialogAction,
AlertDialogCancel,
AlertDialogContent,
AlertDialogDescription,
AlertDialogFooter,
AlertDialogHeader,
AlertDialogTitle,
AlertDialogTrigger,
} from '@konobangu/design-system/components/ui/alert-dialog';
/**
* A modal dialog that interrupts the user with important content and expects
* a response.
*/
const meta = {
title: 'ui/AlertDialog',
component: AlertDialog,
tags: ['autodocs'],
argTypes: {},
render: (args) => (
Open
Are you sure absolutely sure?
This action cannot be undone. This will permanently delete your
account and remove your data from our servers.
Cancel
Continue
),
parameters: {
layout: 'centered',
},
} satisfies Meta;
export default meta;
type Story = StoryObj;
/**
* The default form of the alert dialog.
*/
export const Default: Story = {};