id | title | sidebar_label |
---|---|---|
options-backButton |
Back Button Options |
Back Button |
Controls the back button styling.
const options = {
topBar: {
backButton: {},
},
};
Overrides the text that's read by the screen reader when the user interacts with the back button.
Type | Required | Platform |
---|---|---|
string | No | Android |
Button id for reference press event.
Type | Required | Platform |
---|---|---|
string | No | Android |
Change the back button color. This will change the text color as well.
Type | Required | Platform |
---|---|---|
color | No | Both |
Change the default back button icon.
Type | Required | Platform |
---|---|---|
ImageResource | No | Both |
SF Symbol to show as the back button
Type | Required | Platform |
---|---|---|
string | No | iOS 13+ |
Show or hide the text displayed next to the back button.
Type | Required | Platform |
---|---|---|
number | No | iOS |
Set display mode of the back button. Currently works for iOS 14+ only. See: UINavigationItem.BackButtonDisplayMode
Type | Required | Platform |
---|---|---|
enum('default', 'generic', 'minimal') | No | iOS |
Change the text displayed next to the title. Usually the back button shows the title of the previous screen.
Type | Required | Platform |
---|---|---|
string | No | iOS |
Hide or show the back button.
Type | Required | Platform |
---|---|---|
boolean | No | Both |
Used to interact with the back button in e2e tests.
Type | Required | Platform |
---|---|---|
string | No | Both |
Enables iOS 14 back button menu display.
Type | Required | Platform | Default |
---|---|---|---|
boolean | No | iOS | true |
Controls whether the default back button should pop screen or not.
Type | Required | Default |
---|---|---|
boolean | No | true |