Variable: AlertDialogPortal
@arolariu/components / AlertDialogPortal
Variable: AlertDialogPortal
constAlertDialogPortal:ForwardRefExoticComponent<Omit<DialogPortalProps,"ref"> &RefAttributes<HTMLDivElement>> =BaseAlertDialog.Portal
Defined in: components/ui/alert-dialog.tsx:150
Portals alert-dialog descendants outside the local DOM hierarchy.
Remarks
- Renders no DOM element by default and portals descendants into the document body
- Built on Base UI Alert Dialog
- Does not expose a
renderprop because it only controls mounting context - Styling via CSS Modules with
--ac-*custom properties through descendant components
Example
<AlertDialogPortal>
<AlertDialogOverlay />
<AlertDialogContent />
</AlertDialogPortal>
See
// was this page useful?