'use client'; import * as React from 'react'; import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog'; import { cn } from '../lib/utils'; import { buttonVariants } from './button'; const AlertDialog = AlertDialogPrimitive.Root; const AlertDialogTrigger = AlertDialogPrimitive.Trigger; const AlertDialogPortal = AlertDialogPrimitive.Portal; const AlertDialogOverlay: React.FC< React.ComponentPropsWithoutRef > = ({ className, ...props }) => ( ); AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName; const AlertDialogContent: React.FC< React.ComponentPropsWithoutRef > = ({ className, ...props }) => ( ); AlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName; const AlertDialogHeader = ({ className, ...props }: React.HTMLAttributes) => (
); AlertDialogHeader.displayName = 'AlertDialogHeader'; const AlertDialogFooter = ({ className, ...props }: React.HTMLAttributes) => (
); AlertDialogFooter.displayName = 'AlertDialogFooter'; const AlertDialogTitle: React.FC< React.ComponentPropsWithoutRef > = ({ className, ...props }) => ( ); AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName; const AlertDialogDescription: React.FC< React.ComponentPropsWithoutRef > = ({ className, ...props }) => ( ); AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName; const AlertDialogAction: React.FC< React.ComponentPropsWithoutRef > = ({ className, ...props }) => ( ); AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName; const AlertDialogCancel: React.FC< React.ComponentPropsWithoutRef > = ({ className, ...props }) => ( ); AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName; export { AlertDialog, AlertDialogPortal, AlertDialogOverlay, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, };