react-native-screens
Version:
Native navigation primitives for your React Native app.
20 lines • 1.09 kB
TypeScript
import type { ColorValue, CodegenTypes as CT, ImageSource, ViewProps } from 'react-native';
type StackHeaderTypeAndroid = 'small' | 'medium' | 'large';
export interface NativeProps extends ViewProps {
title?: string | undefined;
hidden?: CT.WithDefault<boolean, false>;
transparent?: CT.WithDefault<boolean, false>;
backButtonHidden?: CT.WithDefault<boolean, false>;
type?: CT.WithDefault<StackHeaderTypeAndroid, 'small'>;
backButtonTintColor?: ColorValue | undefined;
backButtonDrawableIconResourceName?: string | undefined;
backButtonImageIconResource?: ImageSource | undefined;
scrollFlagScroll?: CT.WithDefault<boolean, false>;
scrollFlagEnterAlways?: CT.WithDefault<boolean, false>;
scrollFlagEnterAlwaysCollapsed?: CT.WithDefault<boolean, false>;
scrollFlagExitUntilCollapsed?: CT.WithDefault<boolean, false>;
scrollFlagSnap?: CT.WithDefault<boolean, false>;
}
declare const _default: import("react-native").HostComponent<NativeProps>;
export default _default;
//# sourceMappingURL=StackHeaderConfigAndroidNativeComponent.d.ts.map