Skip to content

Commit 6b99810

Browse files
fix: add missing rest props to backdrop component (#1895)(by @hraschan)
Co-authored-by: Maximilian Hraschan <[email protected]>
1 parent efd4e92 commit 6b99810

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/bottomSheetBackdrop/BottomSheetBackdrop.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ const BottomSheetBackdropComponent = ({
4848
accessibilityRole: _providedAccessibilityRole = DEFAULT_ACCESSIBILITY_ROLE,
4949
accessibilityLabel: _providedAccessibilityLabel = DEFAULT_ACCESSIBILITY_LABEL,
5050
accessibilityHint: _providedAccessibilityHint = DEFAULT_ACCESSIBILITY_HINT,
51+
...rest
5152
}: BottomSheetDefaultBackdropProps) => {
5253
//#region hooks
5354
const { snapToIndex, close } = useBottomSheet();
@@ -154,6 +155,7 @@ const BottomSheetBackdropComponent = ({
154155
typeof pressBehavior === 'string' ? pressBehavior : 'move'
155156
} the Bottom Sheet`
156157
}
158+
{...rest}
157159
>
158160
{children}
159161
</Animated.View>

0 commit comments

Comments
 (0)