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