42 lines
1.3 KiB
JavaScript
42 lines
1.3 KiB
JavaScript
// Module ID: 4698
|
|
// Function ID: 4699
|
|
// Name: ScreenContainer
|
|
// Dependencies: [109, 17, 19, 21, 4679, 4699]
|
|
// Exports: default
|
|
|
|
// Module 4698 (ScreenContainer)
|
|
import noopDefault from "noop" /* 19 */;
|
|
import isNativePlatformSupported from "isNativePlatformSupported" /* 4679 */;
|
|
import __INTERNAL_VIEW_CONFIGDefault from "__INTERNAL_VIEW_CONFIG" /* 4699 */;
|
|
import closure_4 from "_objectWithoutProperties" /* 109 */;
|
|
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
|
|
import { jsx } from "jsxProd" /* 21 */;
|
|
|
|
require = arg1;
|
|
let closure_3 = ["enabled", "hasTwoStates"];
|
|
({ Platform, View: c5 } = get_ActivityIndicator);
|
|
noopDefault;
|
|
|
|
export default function ScreenContainer(enabled) {
|
|
enabled = enabled.enabled;
|
|
if (undefined === enabled) {
|
|
let obj = isNativePlatformSupported;
|
|
enabled = obj.screensEnabled();
|
|
}
|
|
const tmp3 = callback(enabled, closure_3);
|
|
if (enabled) {
|
|
if (isNativePlatformSupported.isNativePlatformSupported) {
|
|
if (enabled.hasTwoStates) {
|
|
obj = {};
|
|
const merged = Object.assign(tmp3);
|
|
return jsx(__INTERNAL_VIEW_CONFIGDefault, {});
|
|
} else {
|
|
obj = {};
|
|
const merged1 = Object.assign(tmp3);
|
|
return jsx(__INTERNAL_VIEW_CONFIGDefault, {});
|
|
}
|
|
}
|
|
}
|
|
const merged2 = Object.assign(tmp3);
|
|
return <closure_5 />;
|
|
};
|