File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 1- import React , { useContext , useEffect } from "react" ;
1+ import React , { useContext } from "react" ;
22import { useMemo , useRef } from "react" ;
33import { FlatList , PanGestureHandler } from "react-native-gesture-handler" ;
44import Animated from "react-native-reanimated" ;
@@ -52,7 +52,7 @@ function useSetupRefs<T>({
5252 flatListRef : React . ForwardedRef < FlatList < T > > ;
5353} ) {
5454 const props = useProps < T > ( ) ;
55- const { onRef , animationConfig = DEFAULT_PROPS . animationConfig } = props ;
55+ const { animationConfig = DEFAULT_PROPS . animationConfig } = props ;
5656
5757 const { isTouchActiveNative } = useAnimatedValues ( ) ;
5858
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ export type DraggableFlatListProps<T> = Modify<
2828 onDragBegin ?: ( index : number ) => void ;
2929 onDragEnd ?: ( params : DragEndParams < T > ) => void ;
3030 onPlaceholderIndexChange ?: ( placeholderIndex : number ) => void ;
31- onRef ?: ( ref : FlatList < T > ) => void ;
3231 onRelease ?: ( index : number ) => void ;
3332 onScrollOffsetChange ?: ( scrollOffset : number ) => void ;
3433 renderItem : RenderItem < T > ;
You can’t perform that action at this time.
0 commit comments