21 lines
546 B
JavaScript
21 lines
546 B
JavaScript
// Metro module 4548 (f4549).
|
|
import { BackHandler, Platform } from "react-native";
|
|
Platform;
|
|
export const isSearchBarAvailableForCurrentPlatform = ["ios", "android"].includes("android");
|
|
export const isHeaderBarButtonsAvailableForCurrentPlatform = false;
|
|
export function executeNativeBackPress() {
|
|
BackHandler.exitApp();
|
|
return true;
|
|
}
|
|
export function parseBooleanToOptionalBooleanNativeProp(a0) {
|
|
if (a0 === void 0) {
|
|
return "undefined";
|
|
}
|
|
if (a0 === true) {
|
|
return "true";
|
|
}
|
|
if (a0 === false) {
|
|
return "false";
|
|
}
|
|
}
|