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