UNPKG

@connectycube/chat-widget

Version:

A customizable React chat widget built on the ConnectyCube platform, enabling real-time messaging, calls, and user engagement in any web app.

30 lines 1.43 kB
import * as React from 'react'; import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog'; import { type ButtonProps } from './button'; interface AlertDialogProps extends AlertDialogPrimitive.AlertDialogProps { title?: string; description?: string; cancelTitle?: string; actionTitle?: string; onCancel?: () => void; onConfirm?: () => void; rootProps?: AlertDialogPrimitive.AlertDialogProps; triggerElement?: React.ReactElement; triggerProps?: AlertDialogPrimitive.AlertDialogTriggerProps; open?: boolean; onOpenChange?: (open: boolean) => void; portalProps?: AlertDialogPrimitive.AlertDialogPortalProps; overlayProps?: AlertDialogPrimitive.AlertDialogOverlayProps; contentProps?: AlertDialogPrimitive.AlertDialogContentProps; headerProps?: React.ComponentProps<'div'>; titleProps?: AlertDialogPrimitive.AlertDialogTitleProps; descriptionProps?: AlertDialogPrimitive.AlertDialogDescriptionProps; footerProps?: React.ComponentProps<'div'>; cancelProps?: AlertDialogPrimitive.AlertDialogCancelProps; cancelButtonProps?: ButtonProps; actionProps?: AlertDialogPrimitive.AlertDialogActionProps; actionButtonProps?: ButtonProps; } declare const AlertDialog: React.ForwardRefExoticComponent<AlertDialogProps & React.RefAttributes<HTMLDivElement>>; export { AlertDialog, type AlertDialogProps }; //# sourceMappingURL=alert-dialog.d.ts.map