mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-24 09:08:15 +00:00
parent
046acd2b5e
commit
c384e3371c
@ -107,6 +107,10 @@ String or React Element used by the header. Defaults to scene `title`
|
||||
|
||||
Title string used by the back button on iOS or `null` to disable label. Defaults to scene `title`
|
||||
|
||||
#### `headerTruncatedBackTitle`
|
||||
|
||||
Title string used by the back button when `headerBackTitle` doesn't fit on the screen. `"Back"` by default.
|
||||
|
||||
#### `headerRight`
|
||||
|
||||
String or React Element to display on the right side of the header
|
||||
|
@ -201,6 +201,7 @@ export type NavigationStackScreenOptions = NavigationScreenOptions & {
|
||||
headerTintColor?: string,
|
||||
headerLeft?: React.Element<*>,
|
||||
headerBackTitle?: string,
|
||||
headerTruncatedBackTitle?: string,
|
||||
headerPressColorAndroid?: string,
|
||||
headerRight?: React.Element<*>,
|
||||
headerStyle?: Style,
|
||||
|
@ -123,6 +123,7 @@ class Header extends React.PureComponent<void, HeaderProps, HeaderState> {
|
||||
pressColorAndroid={options.headerPressColorAndroid}
|
||||
tintColor={options.headerTintColor}
|
||||
title={backButtonTitle}
|
||||
truncatedTitle={options.headerTruncatedBackTitle}
|
||||
width={width}
|
||||
/>
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user