From 2964335891f35c496c39c4da5f83dbac43ecf774 Mon Sep 17 00:00:00 2001 From: Hansel Date: Wed, 19 May 2021 16:11:13 -0400 Subject: [PATCH] Update BottomSheetBackdrop.tsx Allow modification of the style property. This will allow overriding the `backgroundColor`. --- src/components/bottomSheetBackdrop/BottomSheetBackdrop.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/bottomSheetBackdrop/BottomSheetBackdrop.tsx b/src/components/bottomSheetBackdrop/BottomSheetBackdrop.tsx index af15ddd04..1469a5956 100644 --- a/src/components/bottomSheetBackdrop/BottomSheetBackdrop.tsx +++ b/src/components/bottomSheetBackdrop/BottomSheetBackdrop.tsx @@ -83,7 +83,7 @@ const BottomSheetBackdropComponent = ({ flex: 1, })); const containerStyle = useMemo( - () => [style, styles.container, containerAnimatedStyle], + () => [styles.container, style, containerAnimatedStyle], [style, containerAnimatedStyle] ); //#endregion