From e927c92bfa2287d247ebb82436d39331cea3ff37 Mon Sep 17 00:00:00 2001 From: Mo Gorhom Date: Mon, 18 Jan 2021 19:57:05 +0100 Subject: [PATCH] fix: allow backdrop style prop to override internal style --- 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 1dbe17340..032cfeeeb 100644 --- a/src/components/bottomSheetBackdrop/BottomSheetBackdrop.tsx +++ b/src/components/bottomSheetBackdrop/BottomSheetBackdrop.tsx @@ -86,8 +86,8 @@ const BottomSheetBackdropComponent = ({ ); const containerStyle = useMemo( () => [ - style, styles.container, + style, { opacity: animatedOpacity, },