Example
Reference
Properties
constants
isPad iOS Vega Not Available
isTV
isVision Vega Not Available
isVision will be false but isPad will be true
isTesting
OS
Version Vega Not Available
Methods
select()
Parameters:
android and ios keys will take preference. If those are not specified, kepler key then native key will be used and then the default key.
The config parameter is an object with the following keys:
android(any)ios(any)kepler(any)native(any)default(any)
flex: 1 on all platforms, a green background color on Android, a red background color on iOS, a yellow background on Vega, and a blue background color on other platforms.
Since the value of the corresponding platform key can be of type any, select method can also be used to return platform-specific components, like below:

