Lift the swipe animated value upwards

This commit is contained in:
Dan Abramov
2024-10-29 16:49:53 +00:00
parent 6ee2b05ac0
commit 9c28b3a491
4 changed files with 18 additions and 6 deletions
@@ -2,6 +2,7 @@
import React from 'react'
import {View} from 'react-native'
import {SharedValue} from 'react-native-reanimated'
import {ImageSource} from '../../@types'
@@ -12,6 +13,7 @@ type Props = {
onZoom: (scaled: boolean) => void
isScrollViewBeingDragged: boolean
showControls: boolean
dismissSwipeTranslateY: SharedValue<number>
}
const ImageItem = (_props: Props) => {