import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog' import * as React from 'react' import { cn } from '../lib/cn' import { buttonVariants } from './button' export const AlertDialog = AlertDialogPrimitive.Root export const AlertDialogTrigger = AlertDialogPrimitive.Trigger export const AlertDialogContent = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )) AlertDialogContent.displayName = 'AlertDialogContent' export function AlertDialogHeader({ className, ...props }: React.ComponentPropsWithoutRef<'div'>) { return (
) } export function AlertDialogFooter({ className, ...props }: React.ComponentPropsWithoutRef<'div'>) { return (
) } export const AlertDialogTitle = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )) AlertDialogTitle.displayName = 'AlertDialogTitle' export const AlertDialogDescription = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )) AlertDialogDescription.displayName = 'AlertDialogDescription' export const AlertDialogAction = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef & { variant?: 'default' | 'destructive' } >(({ className, variant = 'default', ...props }, ref) => ( )) AlertDialogAction.displayName = 'AlertDialogAction' export const AlertDialogCancel = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )) AlertDialogCancel.displayName = 'AlertDialogCancel'