diff --git a/packages/react-native-gesture-handler/src/components/ReanimatedSwipeable/ReanimatedSwipeableProps.ts b/packages/react-native-gesture-handler/src/components/ReanimatedSwipeable/ReanimatedSwipeableProps.ts index a44832893d..b4442a5592 100644 --- a/packages/react-native-gesture-handler/src/components/ReanimatedSwipeable/ReanimatedSwipeableProps.ts +++ b/packages/react-native-gesture-handler/src/components/ReanimatedSwipeable/ReanimatedSwipeableProps.ts @@ -13,7 +13,7 @@ export interface SwipeableProps { /** * */ - ref?: React.RefObject; + ref?: React.Ref; /** * Sets a `testID` property, allowing for querying `ReanimatedSwipeable` for it in tests.