react-native-gesture-handler
Version:
Declarative API exposing native platform touch and gesture system to React Native
27 lines (22 loc) • 571 B
JavaScript
const RIGHT = 1;
const LEFT = 2;
const UP = 4;
const DOWN = 8;
// Public interface
export const Directions = {
RIGHT: RIGHT,
LEFT: LEFT,
UP: UP,
DOWN: DOWN
};
// Internal interface
export const 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
;