@thinkbuff/figma-react
Version:
A Figma React UI components for creating plugins and widgets
23 lines (22 loc) • 2.93 kB
TypeScript
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
declare const AlertDialogRoot: import('react').FC<AlertDialogPrimitive.AlertDialogProps>;
declare const AlertDialogTrigger: import('react').ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & import('react').RefAttributes<HTMLButtonElement>>;
declare const AlertDialogPortal: import('react').FC<AlertDialogPrimitive.AlertDialogPortalProps>;
declare const AlertDialogAction: import('react').ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogActionProps & import('react').RefAttributes<HTMLButtonElement>>;
declare const AlertDialogCancel: import('react').ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogCancelProps & import('react').RefAttributes<HTMLButtonElement>>;
declare const AlertDialogOverlay: import('react').ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
interface AlertDialogContentProps extends React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content> {
container?: AlertDialogPrimitive.AlertDialogPortalProps['container'];
}
/**
* A modal dialog that interrupts the user with important content and expects a response.
*
* - [Docs](https://www.radix-ui.com/docs/primitives/components/alert-dialog)
* - [API Reference](https://www.radix-ui.com/primitives/docs/components/alert-dialog#api-reference)
*/
declare const AlertDialogContent: import('react').ForwardRefExoticComponent<AlertDialogContentProps & import('react').RefAttributes<HTMLDivElement>>;
declare const AlertDialogHeader: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
declare const AlertDialogFooter: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
declare const AlertDialogTitle: import('react').ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & import('react').RefAttributes<HTMLHeadingElement>, "ref"> & import('react').RefAttributes<HTMLHeadingElement>>;
declare const AlertDialogDescription: import('react').ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & import('react').RefAttributes<HTMLParagraphElement>, "ref"> & import('react').RefAttributes<HTMLParagraphElement>>;
export { AlertDialogRoot as Root, AlertDialogPortal as Portal, AlertDialogOverlay as Overlay, AlertDialogTrigger as Trigger, AlertDialogContent as Content, AlertDialogHeader as Header, AlertDialogFooter as Footer, AlertDialogTitle as Title, AlertDialogDescription as Description, AlertDialogAction as Action, AlertDialogCancel as Cancel, };