react-native-filament
Version:
A real-time physically based 3D rendering engine for React Native
14 lines • 630 B
TypeScript
import React from 'react';
import { ViewProps } from 'react-native';
type Handler = Required<ViewProps>['onTouchStart'];
/**
* Internal context for holding touch handlers which will be invoked on the FilamentView.
* @private
*/
export declare const TouchHandlerContext: React.Context<{
touchHandlers: Record<number, (event: import("react-native").GestureResponderEvent) => void>;
addTouchHandler: (handler: Handler) => () => void;
}>;
export declare const getTouchHandlers: () => Record<number, (event: import("react-native").GestureResponderEvent) => void>;
export {};
//# sourceMappingURL=TouchHandlerContext.d.ts.map