1 | import React, { PropsWithChildren } from 'react';
|
2 | import { BaseGestureHandlerProps } from './gestureHandlerCommon';
|
3 | import type { ForceTouchGestureHandlerEventPayload } from './GestureHandlerEventPayload';
|
4 | export declare const forceTouchGestureHandlerProps: readonly ["minForce", "maxForce", "feedbackOnActivation"];
|
5 | declare class ForceTouchFallback extends React.Component<PropsWithChildren<unknown>> {
|
6 | static forceTouchAvailable: boolean;
|
7 | componentDidMount(): void;
|
8 | render(): React.ReactNode;
|
9 | }
|
10 | export interface ForceTouchGestureConfig {
|
11 | |
12 |
|
13 |
|
14 |
|
15 |
|
16 | minForce?: number;
|
17 | |
18 |
|
19 |
|
20 |
|
21 | maxForce?: number;
|
22 | |
23 |
|
24 |
|
25 |
|
26 | feedbackOnActivation?: boolean;
|
27 | }
|
28 | export interface ForceTouchGestureHandlerProps extends BaseGestureHandlerProps<ForceTouchGestureHandlerEventPayload>, ForceTouchGestureConfig {
|
29 | }
|
30 | export type ForceTouchGestureHandler = typeof ForceTouchGestureHandler & {
|
31 | forceTouchAvailable: boolean;
|
32 | };
|
33 | export declare const forceTouchHandlerName = "ForceTouchGestureHandler";
|
34 | export declare const ForceTouchGestureHandler: typeof ForceTouchFallback | React.ComponentType<ForceTouchGestureHandlerProps & React.RefAttributes<any>>;
|
35 | export {};
|