react-native-gesture-handler
Version:
Declarative API exposing native platform touch and gesture system to React Native
14 lines • 876 B
TypeScript
import type { CodegenTypes, TurboModule } from 'react-native';
export interface Spec extends TurboModule {
createGestureHandler: (handlerName: string, handlerTag: CodegenTypes.Double, config: Object) => void;
attachGestureHandler: (handlerTag: CodegenTypes.Double, newView: CodegenTypes.Double, actionType: CodegenTypes.Double) => void;
setGestureHandlerConfig: (handlerTag: CodegenTypes.Double, newConfig: Object) => void;
updateGestureHandlerConfig: (handlerTag: CodegenTypes.Double, newConfig: Object) => void;
configureRelations: (handlerTag: CodegenTypes.Double, relations: Object) => void;
dropGestureHandler: (handlerTag: CodegenTypes.Double) => void;
flushOperations: () => void;
installUIRuntimeBindings: () => boolean;
}
declare const _default: Spec;
export default _default;
//# sourceMappingURL=NativeRNGestureHandlerModule.d.ts.map