react-native-gesture-handler
Version:
Declarative API exposing native platform touch and gesture system to React Native
10 lines (9 loc) • 468 B
TypeScript
import { PressableEvent } from './PressableProps';
import { PressableStateMachine } from './StateMachine';
export declare enum StateMachineEvent {
NATIVE_BEGIN = "nativeBegin",
NATIVE_START = "nativeStart",
FINALIZE = "finalize",
LONG_PRESS_TOUCHES_DOWN = "longPressTouchesDown"
}
export declare function getConfiguredStateMachine(handlePressIn: (event: PressableEvent) => void, handlePressOut: (event: PressableEvent) => void): PressableStateMachine;