react-native-gesture-handler
Version:
Declarative API exposing native platform touch and gesture system to React Native
11 lines (10 loc) • 428 B
JavaScript
;
import { SingleGestureName } from '../../../types';
import { useGesture } from '../../useGesture';
import { useClonedAndRemappedConfig } from '../../utils';
const EMPTY_FLING_CONFIG = {};
export function useFlingGesture(config = EMPTY_FLING_CONFIG) {
const flingConfig = useClonedAndRemappedConfig(config);
return useGesture(SingleGestureName.Fling, flingConfig);
}
//# sourceMappingURL=useFlingGesture.js.map