react-native-gesture-handler
Version:
Declarative API exposing native platform touch and gesture system to React Native
8 lines (7 loc) • 344 B
JavaScript
// Used by GestureDetector (unsupported on web at the moment) to check whether the
// attached view may get flattened on Fabric. Original implementation causes errors
// on web due to the static resolution of `require` statements by webpack breaking
// the conditional importing.
export function getShadowNodeFromRef(_ref) {
return null;
}