From 41fed3662bd80185be541b994e9a0964ec55ef85 Mon Sep 17 00:00:00 2001 From: Jake Laderman Date: Fri, 17 May 2024 12:49:26 -0400 Subject: [PATCH] feat: add ability for cookies banner to overlay everything else (#594) --- src/components/Layer.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/Layer.tsx b/src/components/Layer.tsx index a3256d87..2d94851d 100644 --- a/src/components/Layer.tsx +++ b/src/components/Layer.tsx @@ -151,6 +151,7 @@ function LayerRef( { position, animation = 'slide', + modal = false, margin, children, onClickOutside, @@ -161,6 +162,7 @@ function LayerRef( open: boolean position: LayerPositionType animation?: AnimationType + modal?: boolean margin?: MarginType onClose?: () => void | null | undefined onCloseComplete?: () => void | null | undefined @@ -295,7 +297,10 @@ function LayerRef( {children}