123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- ---
- id: options-backButton
- title: Back Button Options
- sidebar_label: Back Button
- ---
-
- Controls the back button styling.
-
- ```js
- const options = {
- topBar: {
- backButton: {}
- }
- }
- ```
-
- ### `color`
- Change the back button color. This will change the text color as well.
-
- | Type | Required | Platform |
- | ----- | -------- | -------- |
- | color | No | Both |
-
- ### `icon`
- Change the default back button icon.
-
- | Type | Required | Platform |
- | ------ | -------- | -------- |
- | number | No | Both |
-
- ### `showTitle`
- Show or hide the text displayed next to the back button.
-
- | Type | Required | Platform |
- | ------ | -------- | -------- |
- | number | No | iOS |
-
- ### `title`
- 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 |
-
- ### `visible`
- Hide or show the back button.
-
- | Type | Required | Platform |
- | ------- | -------- | -------- |
- | boolean | No | Both |
|