UNPKG

react-native-gesture-handler

Version:

Declarative API exposing native platform touch and gesture system to React Native

18 lines (17 loc) 868 B
import createHandler from './createHandler'; import { baseGestureHandlerProps } from './gestureHandlerCommon'; export const flingGestureHandlerProps = ['numberOfPointers', 'direction']; export const flingHandlerName = 'FlingGestureHandler'; /** * @deprecated FlingGestureHandler will be removed in the future version of Gesture Handler. Use `Gesture.Fling()` instead. */ /** * @deprecated FlingGestureHandler will be removed in the future version of Gesture Handler. Use `Gesture.Fling()` instead. */ // eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; see description on the top of gestureHandlerCommon.ts file export const FlingGestureHandler = createHandler({ name: flingHandlerName, allowedProps: [...baseGestureHandlerProps, ...flingGestureHandlerProps], config: {} }); //# sourceMappingURL=FlingGestureHandler.js.map