UNPKG

react-native-gesture-handler

Version:

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

31 lines (26 loc) 730 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Directions = exports.DiagonalDirections = void 0; const RIGHT = 1; const LEFT = 2; const UP = 4; const DOWN = 8; // Public interface const Directions = exports.Directions = { RIGHT: RIGHT, LEFT: LEFT, UP: UP, DOWN: DOWN }; // Internal interface const DiagonalDirections = exports.DiagonalDirections = { UP_RIGHT: UP | RIGHT, DOWN_RIGHT: DOWN | RIGHT, UP_LEFT: UP | LEFT, DOWN_LEFT: DOWN | LEFT }; // eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; it can be used as a type and as a value // eslint-disable-next-line @typescript-eslint/no-redeclare //# sourceMappingURL=Directions.js.map