react-native-screens
Version:
Native navigation primitives for your React Native app.
19 lines (14 loc) • 530 B
text/typescript
'use client';
import type { CodegenTypes as CT, ViewProps } from 'react-native';
import { codegenNativeComponent } from 'react-native';
export interface NativeProps extends ViewProps {
title?: string | undefined;
hidden?: CT.WithDefault<boolean, false>;
transparent?: CT.WithDefault<boolean, false>;
backButtonHidden?: CT.WithDefault<boolean, false>;
// iOS-specific props
}
export default codegenNativeComponent<NativeProps>('RNSStackHeaderConfigIOS', {
interfaceOnly: true,
excludedPlatforms: ['android'],
});