UNPKG

react-native-gesture-handler

Version:

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

8 lines 626 B
import type { NativeGesture, NativeGestureNativeProperties, NativeHandlerData } from '../hooks/gestures/native/NativeTypes'; import type { CommonGestureConfig, ExternalRelations, GestureCallbacks } from '.'; export type WrapperSpecificProperties<T = unknown> = { ref?: React.Ref<T> | undefined; onGestureUpdate_CAN_CAUSE_INFINITE_RERENDER?: (gesture: NativeGesture) => void; }; export type NativeWrapperProperties<T = unknown> = CommonGestureConfig & GestureCallbacks<NativeHandlerData> & NativeGestureNativeProperties & ExternalRelations & WrapperSpecificProperties<T>; //# sourceMappingURL=NativeWrapperType.d.ts.map