import { buttonTextVariants, buttonVariants } from '@/components/ui/button'; import { NativeOnlyAnimatedView } from '@/components/ui/native-only-animated-view'; import { TextClassContext } from '@/components/ui/text'; import { cn } from '@/lib/utils'; import * as AlertDialogPrimitive from '@rn-primitives/alert-dialog'; import * as React from 'react'; import { Platform, View, type ViewProps } from 'react-native'; import { FadeIn, FadeOut } from 'react-native-reanimated'; import { FullWindowOverlay as RNFullWindowOverlay } from 'react-native-screens'; const AlertDialog = AlertDialogPrimitive.Root; const AlertDialogTrigger = AlertDialogPrimitive.Trigger; const AlertDialogPortal = AlertDialogPrimitive.Portal; const FullWindowOverlay = Platform.OS === 'ios' ? RNFullWindowOverlay : React.Fragment; function AlertDialogOverlay({ className, children, ...props }: Omit & React.RefAttributes & { children?: React.ReactNode; }) { return ( <>{children} ); } function AlertDialogContent({ className, portalHost, ...props }: AlertDialogPrimitive.ContentProps & React.RefAttributes & { portalHost?: string; }) { return ( ); } function AlertDialogHeader({ className, ...props }: ViewProps) { return ( ); } function AlertDialogFooter({ className, ...props }: ViewProps) { return ( ); } function AlertDialogTitle({ className, ...props }: AlertDialogPrimitive.TitleProps & React.RefAttributes) { return ( ); } function AlertDialogDescription({ className, style, ...props }: AlertDialogPrimitive.DescriptionProps & React.RefAttributes) { return ( ); } function AlertDialogAction({ className, ...props }: AlertDialogPrimitive.ActionProps & React.RefAttributes) { return ( ); } function AlertDialogCancel({ className, ...props }: AlertDialogPrimitive.CancelProps & React.RefAttributes) { return ( ); } export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, };