We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7aa9bbd commit c514cfdCopy full SHA for c514cfd
src/constants.ts
@@ -1,10 +1,13 @@
1
import { Platform } from "react-native";
2
import { PanGestureHandlerProperties } from "react-native-gesture-handler";
3
-import Animated, { useSharedValue } from "react-native-reanimated";
+import Animated, {
4
+ useSharedValue,
5
+ WithSpringConfig,
6
+} from "react-native-reanimated";
7
8
// Fire onScrollComplete when within this many px of target offset
9
export const SCROLL_POSITION_TOLERANCE = 2;
-export const DEFAULT_ANIMATION_CONFIG: Animated.WithSpringConfig = {
10
+export const DEFAULT_ANIMATION_CONFIG: WithSpringConfig = {
11
damping: 20,
12
mass: 0.2,
13
stiffness: 100,
0 commit comments