UNPKG

react-native-gesture-handler

Version:

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

30 lines 3.14 kB
import type { FlingGesture, FlingGestureActiveEvent, FlingGestureConfig, FlingGestureEvent } from './fling/FlingTypes'; import type { HoverGesture, HoverGestureActiveEvent, HoverGestureConfig, HoverGestureEvent } from './hover/HoverTypes'; import type { LongPressGesture, LongPressGestureActiveEvent, LongPressGestureConfig, LongPressGestureEvent } from './longPress/LongPressTypes'; import type { ManualGesture, ManualGestureActiveEvent, ManualGestureConfig, ManualGestureEvent } from './manual/ManualTypes'; import type { NativeGesture, NativeGestureActiveEvent, NativeGestureConfig, NativeGestureEvent } from './native/NativeTypes'; import type { PanGesture, PanGestureActiveEvent, PanGestureConfig, PanGestureEvent } from './pan/PanTypes'; import type { PinchGesture, PinchGestureActiveEvent, PinchGestureConfig, PinchGestureEvent } from './pinch/PinchTypes'; import type { RotationGesture, RotationGestureActiveEvent, RotationGestureConfig, RotationGestureEvent } from './rotation/RotationTypes'; import type { TapGesture, TapGestureActiveEvent, TapGestureConfig, TapGestureEvent } from './tap/TapTypes'; export type { TapGesture, TapGestureActiveEvent, TapGestureConfig, TapGestureEvent, }; export { useTapGesture } from './tap/useTapGesture'; export type { FlingGesture, FlingGestureActiveEvent, FlingGestureConfig, FlingGestureEvent, }; export { useFlingGesture } from './fling/useFlingGesture'; export type { LongPressGesture, LongPressGestureActiveEvent, LongPressGestureConfig, LongPressGestureEvent, }; export { useLongPressGesture } from './longPress/useLongPressGesture'; export type { PinchGesture, PinchGestureActiveEvent, PinchGestureConfig, PinchGestureEvent, }; export { usePinchGesture } from './pinch/usePinchGesture'; export type { RotationGesture, RotationGestureActiveEvent, RotationGestureConfig, RotationGestureEvent, }; export { useRotationGesture } from './rotation/useRotationGesture'; export type { HoverGesture, HoverGestureActiveEvent, HoverGestureConfig, HoverGestureEvent, }; export { useHoverGesture } from './hover/useHoverGesture'; export type { ManualGesture, ManualGestureActiveEvent, ManualGestureConfig, ManualGestureEvent, }; export { useManualGesture } from './manual/useManualGesture'; export type { NativeGesture, NativeGestureActiveEvent, NativeGestureConfig, NativeGestureEvent, }; export { useNativeGesture } from './native/useNativeGesture'; export type { PanGesture, PanGestureActiveEvent, PanGestureConfig, PanGestureEvent, }; export { usePanGesture } from './pan/usePanGesture'; export type SingleGesture = TapGesture | FlingGesture | LongPressGesture | PinchGesture | RotationGesture | HoverGesture | ManualGesture | NativeGesture | PanGesture; export type SingleGestureEvent = TapGestureEvent | TapGestureActiveEvent | FlingGestureEvent | FlingGestureActiveEvent | LongPressGestureEvent | LongPressGestureActiveEvent | RotationGestureEvent | RotationGestureActiveEvent | HoverGestureEvent | HoverGestureActiveEvent | ManualGestureEvent | ManualGestureActiveEvent | NativeGestureEvent | NativeGestureActiveEvent | PanGestureEvent | PanGestureActiveEvent; //# sourceMappingURL=index.d.ts.map