react-native-gesture-handler
Version:
Experimental implementation of a new declarative API for gesture handling in react-native
20 lines (15 loc) • 562 B
JavaScript
import { tagMessage } from '../../utils';
let Reanimated;
try {
Reanimated = require('react-native-reanimated');
if (!Reanimated.setGestureState) {
Reanimated.setGestureState = () => {
'worklet';
console.warn(tagMessage('Please use newer version of react-native-reanimated in order to control state of the gestures.'));
};
} // When 'react-native-reanimated' is not available we want to
// quietly continue
// eslint-disable-next-line no-empty
} catch (e) {}
export { Reanimated };
//# sourceMappingURL=reanimatedWrapper.js.map