UNPKG

react-native-gesture-handler

Version:

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

17 lines (13 loc) 538 B
import type { CodegenTypes, HostComponent, ViewProps } from 'react-native'; import { codegenNativeComponent } from 'react-native'; // Publicly accessible type, moduleId is set internally export interface RootViewNativeProps extends ViewProps { unstable_forceActive?: boolean; } interface NativeProps extends ViewProps { moduleId?: CodegenTypes.WithDefault<CodegenTypes.Int32, -1>; unstable_forceActive?: boolean; } export default codegenNativeComponent<NativeProps>( 'RNGestureHandlerRootView' ) as HostComponent<NativeProps>;