1 | /// <reference types="react" />
|
2 | import type { FlingGestureHandlerEventPayload } from './GestureHandlerEventPayload';
|
3 | import { BaseGestureHandlerProps } from './gestureHandlerCommon';
|
4 | export declare const flingGestureHandlerProps: readonly ["numberOfPointers", "direction"];
|
5 | export interface FlingGestureConfig {
|
6 | /**
|
7 | * Expressed allowed direction of movement. It's possible to pass one or many
|
8 | * directions in one parameter:
|
9 | *
|
10 | * ```js
|
11 | * direction={Directions.RIGHT | Directions.LEFT}
|
12 | * ```
|
13 | *
|
14 | * or
|
15 | *
|
16 | * ```js
|
17 | * direction={Directions.DOWN}
|
18 | * ```
|
19 | */
|
20 | direction?: number;
|
21 | /**
|
22 | * Determine exact number of points required to handle the fling gesture.
|
23 | */
|
24 | numberOfPointers?: number;
|
25 | }
|
26 | /**
|
27 | * @deprecated FlingGestureHandler will be removed in the future version of Gesture Handler. Use `Gesture.Fling()` instead.
|
28 | */
|
29 | export interface FlingGestureHandlerProps extends BaseGestureHandlerProps<FlingGestureHandlerEventPayload>, FlingGestureConfig {
|
30 | }
|
31 | export declare const flingHandlerName = "FlingGestureHandler";
|
32 | /**
|
33 | * @deprecated FlingGestureHandler will be removed in the future version of Gesture Handler. Use `Gesture.Fling()` instead.
|
34 | */
|
35 | export type FlingGestureHandler = typeof FlingGestureHandler;
|
36 | /**
|
37 | * @deprecated FlingGestureHandler will be removed in the future version of Gesture Handler. Use `Gesture.Fling()` instead.
|
38 | */
|
39 | export declare const FlingGestureHandler: import("react").ComponentType<FlingGestureHandlerProps & import("react").RefAttributes<any>>;
|