From aae17a0741fafc9dfb56a281bf5b556b349d79ca Mon Sep 17 00:00:00 2001 From: Amit Beckenstein Date: Wed, 20 May 2026 15:45:32 +0300 Subject: [PATCH] fix(close-button): pass `slot="close"` prop to RAC `Button` component A button with a `slot="close"` will act as a close button and close RAC modals and overlays https://react-aria.adobe.com/Modal#api --- components/base/buttons/close-button.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/base/buttons/close-button.tsx b/components/base/buttons/close-button.tsx index f6e4d8a..9973e8b 100644 --- a/components/base/buttons/close-button.tsx +++ b/components/base/buttons/close-button.tsx @@ -26,6 +26,7 @@ export const CloseButton = ({ label, className, size = "sm", theme = "light", .. return ( cx(