| id |
options-imageResource |
| title |
Image Resource |
| sidebar_label |
Image Resource |
const options = {
topBar: {
leftButtons: [
icon: require('./backButton.png')
]
},
};
The following icon types are available:
| Type |
Required |
Platform |
| ImageRequireSource |
No |
Both |
| string |
No |
Both |
| ImageSystemSource |
No |
iOS |
You can use platform specific system icons for iOS only.
Example:
const options = {
topBar: {
leftButtons: [
icon: {
system: 'calendar',
fallback: require('./calendar.png')
}
]
},
};
| Type |
Required |
Platform |
| string |
Yes |
iOS 13+ |
For iOS, SF Symbols is available only for iOS 13 and later. For iOS 12 and earlier you should use a fallback icon.
| Type |
Required |
Platform |
| number |
No |
Both |
| Type |
Required |
Platform |
| number |
No |
Both |