react-native-gesture-handler
Version:
Declarative API exposing native platform touch and gesture system to React Native
16 lines (12 loc) • 542 B
text/typescript
import type { ViewProps } from 'react-native';
import type { Int32 } from 'react-native/Libraries/Types/CodegenTypes';
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
// Publicly accessible type, moduleId is set internally
export interface RootViewNativeProps extends ViewProps {
unstable_forceActive?: boolean;
}
interface NativeProps extends ViewProps {
moduleId: Int32;
unstable_forceActive?: boolean;
}
export default codegenNativeComponent<NativeProps>('RNGestureHandlerRootView');