import * as React from "react"; import { AlertDialog as AlertDialogPrimitive } from "@base-ui/react/alert-dialog"; import { cn } from "../utils/cn"; const AlertDialog = AlertDialogPrimitive.Root; const AlertDialogPortal = AlertDialogPrimitive.Portal; const AlertDialogTrigger = React.forwardRef< HTMLButtonElement, AlertDialogTriggerProps >((props, ref) => ); AlertDialogTrigger.displayName = "AlertDialogTrigger"; const AlertDialogClose = React.forwardRef< HTMLButtonElement, AlertDialogCloseProps >((props, ref) => ); AlertDialogClose.displayName = "AlertDialogClose"; const AlertDialogOverlay = React.forwardRef< React.ComponentRef, AlertDialogPrimitive.Backdrop.Props >(({ className, ...props }, ref) => ( )); AlertDialogOverlay.displayName = "AlertDialogOverlay"; const AlertDialogContent = React.forwardRef< React.ComponentRef, AlertDialogContentProps >(({ className, ...props }, ref) => ( )); AlertDialogContent.displayName = "AlertDialogContent"; const AlertDialogHeader = ({ className, ...props }: React.HTMLAttributes) => (
); AlertDialogHeader.displayName = "AlertDialogHeader"; const AlertDialogFooter = ({ className, ...props }: React.HTMLAttributes) => (
); AlertDialogFooter.displayName = "AlertDialogFooter"; const AlertDialogTitle = React.forwardRef< React.ComponentRef, AlertDialogPrimitive.Title.Props >(({ className, ...props }, ref) => ( )); AlertDialogTitle.displayName = "AlertDialogTitle"; const AlertDialogDescription = React.forwardRef< React.ComponentRef, AlertDialogPrimitive.Description.Props >(({ className, ...props }, ref) => ( )); AlertDialogDescription.displayName = "AlertDialogDescription"; type AlertDialogTriggerProps = AlertDialogPrimitive.Trigger.Props; type AlertDialogCloseProps = AlertDialogPrimitive.Close.Props; type AlertDialogContentProps = AlertDialogPrimitive.Popup.Props; export { AlertDialog, AlertDialogPortal, AlertDialogOverlay, AlertDialogClose, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, };