diff --git a/apps/www/registry/default/ui/dialog.tsx b/apps/www/registry/default/ui/dialog.tsx index 47ce215739d..80ee7d62210 100644 --- a/apps/www/registry/default/ui/dialog.tsx +++ b/apps/www/registry/default/ui/dialog.tsx @@ -12,6 +12,8 @@ const DialogTrigger = DialogPrimitive.Trigger const DialogPortal = DialogPrimitive.Portal +const DialogClose = DialogPrimitive.Close + const DialogOverlay = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef @@ -110,6 +112,7 @@ export { Dialog, DialogPortal, DialogOverlay, + DialogClose, DialogTrigger, DialogContent, DialogHeader, diff --git a/apps/www/registry/new-york/ui/dialog.tsx b/apps/www/registry/new-york/ui/dialog.tsx index cf284e9d74c..5e7c09521b2 100644 --- a/apps/www/registry/new-york/ui/dialog.tsx +++ b/apps/www/registry/new-york/ui/dialog.tsx @@ -12,6 +12,8 @@ const DialogTrigger = DialogPrimitive.Trigger const DialogPortal = DialogPrimitive.Portal +const DialogClose = DialogPrimitive.Close + const DialogOverlay = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef @@ -111,6 +113,7 @@ export { DialogPortal, DialogOverlay, DialogTrigger, + DialogClose, DialogContent, DialogHeader, DialogFooter,