"use client" import * as React from "react" import { cn } from "cn" import { Dialog as AlertDialogPrimitive, DialogTrigger as AlertDialogTriggerPrimitive, Heading, ModalOverlay as ModalOverlayPrimitive, Modal as ModalPrimitive, type DialogProps as AlertDialogPrimitiveProps, type DialogTriggerProps as AlertDialogTriggerPrimitiveProps, type ModalOverlayProps as ModalOverlayPrimitiveProps, } from "react-aria-components" import { Button } from "@/registry/bases/aria/ui/button" function AlertDialogTrigger({ ...props }: AlertDialogTriggerPrimitiveProps) { return ( ) } function AlertDialogOverlay({ className, children, ...props }: Omit & { className?: string children: React.ReactNode }) { return ( {children} ) } function AlertDialog({ className, size = "default", children, ...props }: Omit & Pick, "isDismissable"> & { className?: string size?: "default" | "sm" children: React.ReactNode }) { return ( {children} ) } function AlertDialogContent({ className, size = "default", children, ...props }: React.ComponentProps) { return ( {children} ) } function AlertDialogHeader({ className, ...props }: React.ComponentProps<"div">) { return (
) } function AlertDialogFooter({ className, ...props }: React.ComponentProps<"div">) { return (
) } function AlertDialogMedia({ className, ...props }: React.ComponentProps<"div">) { return (
) } function AlertDialogTitle({ className, ...props }: Omit, "slot">) { return ( ) } function AlertDialogDescription({ className, ...props }: Omit, "slot">) { return (
) } function AlertDialogAction({ className, ...props }: React.ComponentProps) { return (