UNPKG

commonux2

Version:

A collection of styled components for use in ABB projects, designed for React and Next.js. It features TypeScript support, integrates Lucide icons, and is built on Radix primitives with Tailwind CSS.

27 lines (26 loc) 2.55 kB
import * as React from "react"; import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog"; import { type VariantProps } from "class-variance-authority"; declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>; declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>; declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>; declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>; declare const alertDialogVariants: (props?: ({ variant?: "warn" | "error" | "info" | "success" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; export interface AlertDialogContentCustomProps extends React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content>, VariantProps<typeof alertDialogVariants> { } declare const AlertDialogContent: React.ForwardRefExoticComponent<AlertDialogContentCustomProps & React.RefAttributes<HTMLDivElement>>; declare const AlertDialogHeader: { ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element; displayName: string; }; declare const AlertDialogFooter: { ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element; displayName: string; }; declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>; declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>; declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>; declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>; export { AlertDialog, AlertDialogPortal, AlertDialogOverlay, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, };