Skip to main content
Version: 7.37.0

Image Resource

ImageResource#

const options = {
topBar: {
leftButtons: [
icon: require('./backButton.png')
]
},
};

The following icon types are available:

TypeRequiredPlatform
ImageRequireSourceNoBoth
stringNoBoth
ImageSystemSourceNoiOS

ImageSystemSource#

system#

You can use platform specific system icons for iOS only.

Example:

const options = {
topBar: {
leftButtons: [
icon: {
system: 'calendar',
fallback: require('./calendar.png')
}
]
},
};
TypeRequiredPlatform
stringYesiOS 13+

fallback#

TypeRequiredPlatform
FallbackSourceNoiOS 13+

FallbackSource#

For iOS, SF Symbols is available only for iOS 13 and later. For iOS 12 and earlier you should use a fallback icon.

ImageRequireSource#

TypeRequiredPlatform
numberNoBoth

string#

TypeRequiredPlatform
numberNoBoth