UNPKG

904 BTypeScriptView Raw
1/// <reference types="react" />
2import { BaseGestureHandlerProps } from './gestureHandlers';
3export interface NativeViewGestureHandlerProps extends BaseGestureHandlerProps<NativeViewGestureHandlerPayload> {
4 shouldActivateOnStart?: boolean;
5 disallowInterruption?: boolean;
6}
7export declare type NativeViewGestureHandlerPayload = {
8 pointerInside: boolean;
9};
10export declare const nativeViewProps: readonly ["id", "enabled", "minPointers", "waitFor", "simultaneousHandlers", "shouldCancelWhenOutside", "hitSlop", "onBegan", "onFailed", "onCancelled", "onActivated", "onEnded", "onGestureEvent", "onHandlerStateChange", "shouldActivateOnStart", "disallowInterruption"];
11export declare type NativeViewGestureHandler = typeof NativeViewGestureHandler;
12export declare const NativeViewGestureHandler: import("react").ComponentType<NativeViewGestureHandlerProps & import("react").RefAttributes<any>>;