skip to Main Content

What should I pass as a value to a prop expecting Animated.Value while using react-native-reanimated? – React native

I created a hook to capture the react-native-pager-view carousel scroll position: import { useEvent, useHandler } from 'react-native-reanimated'; import { AnimatedPagerScrollHookParams } from './animated-pager-scroll.type'; const useAnimatedPagerScroll = ( handlers: AnimatedPagerScrollHookParams['handlers'], dependencies?: AnimatedPagerScrollHookParams['dependencies'], ) => { const { context, doDependenciesDiffer }…

VIEW QUESTION
Back To Top
Search