react-native-draggable-flatlist
Version:
A drag-and-drop-enabled FlatList component for React Native
17 lines (16 loc) • 847 B
TypeScript
import Animated from "react-native-reanimated";
export declare const SCROLL_POSITION_TOLERANCE = 2;
export declare const DEFAULT_ANIMATION_CONFIG: Animated.WithSpringConfig;
export declare const DEFAULT_PROPS: {
autoscrollThreshold: number;
autoscrollSpeed: number;
animationConfig: Animated.WithSpringConfig;
scrollEnabled: boolean;
dragHitSlop: number | Partial<Record<"left" | "right" | "top" | "bottom" | "vertical" | "horizontal", number>> | Record<"left" | "width", number> | Record<"right" | "width", number> | Record<"top" | "height", number> | Record<"bottom" | "height", number> | undefined;
activationDistance: number;
dragItemOverflow: boolean;
};
export declare const isIOS: boolean;
export declare const isAndroid: boolean;
export declare const isWeb: boolean;
export declare const isReanimatedV2 = true;