Skip to content

Commit

Permalink
fix: add missing rest props to backdrop component (#1895)(by @hraschan)
Browse files Browse the repository at this point in the history
Co-authored-by: Maximilian Hraschan <maximilian.hraschan@itsv.at>
  • Loading branch information
hraschan and hraschan-itsv authored Jul 28, 2024
1 parent efd4e92 commit 6b99810
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/bottomSheetBackdrop/BottomSheetBackdrop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const BottomSheetBackdropComponent = ({
accessibilityRole: _providedAccessibilityRole = DEFAULT_ACCESSIBILITY_ROLE,
accessibilityLabel: _providedAccessibilityLabel = DEFAULT_ACCESSIBILITY_LABEL,
accessibilityHint: _providedAccessibilityHint = DEFAULT_ACCESSIBILITY_HINT,
...rest
}: BottomSheetDefaultBackdropProps) => {
//#region hooks
const { snapToIndex, close } = useBottomSheet();
Expand Down Expand Up @@ -154,6 +155,7 @@ const BottomSheetBackdropComponent = ({
typeof pressBehavior === 'string' ? pressBehavior : 'move'
} the Bottom Sheet`
}
{...rest}
>
{children}
</Animated.View>
Expand Down

0 comments on commit 6b99810

Please sign in to comment.