From 706ef1b102b2c22d7968e579d197d5159329ddcc Mon Sep 17 00:00:00 2001 From: ankit-tailor Date: Thu, 3 Nov 2022 16:28:37 +0530 Subject: [PATCH 1/2] feat: add backdrop pseudo prop --- src/components/composites/Popover/Popover.tsx | 3 ++- src/components/composites/Popover/types.ts | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/composites/Popover/Popover.tsx b/src/components/composites/Popover/Popover.tsx index 7f6e05858..32b5120c3 100644 --- a/src/components/composites/Popover/Popover.tsx +++ b/src/components/composites/Popover/Popover.tsx @@ -27,6 +27,7 @@ const Popover = ( finalFocusRef, useRNModal, trapFocus = true, + _backdrop, ...props }: IPopoverProps, ref: any @@ -101,7 +102,7 @@ const Popover = ( style={StyleSheet.absoluteFill} > - + Date: Thu, 3 Nov 2022 16:40:09 +0530 Subject: [PATCH 2/2] fix: _backdrop description --- src/components/composites/Popover/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/composites/Popover/types.ts b/src/components/composites/Popover/types.ts index 5ebd1c780..47652ba89 100644 --- a/src/components/composites/Popover/types.ts +++ b/src/components/composites/Popover/types.ts @@ -104,7 +104,7 @@ export interface InterfacePopoverProps { */ useRNModal?: boolean; /** - * Props applied on Overlay. + * Props applied on backdrop. */ _backdrop?: any; }