Closed intergalacticspacehighway closed 2 years ago
Adds a new API createZoomListWithReanimatedComponent that uses animatedProps instead of state to set scrollEnabled on ScrollView. https://github.com/intergalacticspacehighway/react-native-reanimated-zoom/issues/10
createZoomListWithReanimatedComponent
animatedProps
scrollEnabled
const AnimatedFlatList = Animated.createAnimatedComponent(FlatList); const ZoomFlatList = createZoomListWithReanimatedComponent(AnimatedFlatList);
Resolves
Adds a new API
createZoomListWithReanimatedComponent
that usesanimatedProps
instead of state to setscrollEnabled
on ScrollView. https://github.com/intergalacticspacehighway/react-native-reanimated-zoom/issues/10Usage