26 lines
609 B
JavaScript
26 lines
609 B
JavaScript
// Module ID: 7095
|
|
// Function ID: 7096
|
|
// Name: reactNativeVersion
|
|
// Dependencies: [17]
|
|
// Exports: isRN083OrAbove
|
|
|
|
// Module 7095 (reactNativeVersion)
|
|
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
|
|
|
|
const constants = get_ActivityIndicator.Platform.constants;
|
|
let reactNativeVersion;
|
|
if (constants != null) {
|
|
reactNativeVersion = constants.reactNativeVersion;
|
|
}
|
|
|
|
export const isRN083OrAbove = () => {
|
|
let tmp2 = reactNativeVersion;
|
|
if (reactNativeVersion) {
|
|
let tmp3 = tmp.major > 0;
|
|
if (!tmp3) {
|
|
tmp3 = tmp.minor >= 83;
|
|
}
|
|
tmp2 = tmp3;
|
|
}
|
|
return tmp2;
|
|
};
|