40 lines
1.7 KiB
TypeScript
40 lines
1.7 KiB
TypeScript
// Module ID: 5112
|
|
// Function ID: 5113
|
|
// Name: QuarantineModeInfoAlert
|
|
// Dependencies: [19, 676, 21, 4193, 5113, 712, 4622, 1297, 1236, 4189, 2]
|
|
// Exports: default
|
|
|
|
// Module 5112 (QuarantineModeInfoAlert)
|
|
import "noop";
|
|
import jsxProd from "jsxProd";
|
|
import createCacheKey from "createCacheKey";
|
|
import importDefaultResult from "createTextStyle";
|
|
|
|
let c3;
|
|
let c4;
|
|
const require = arg1;
|
|
({ jsx: c3, jsxs: c4 } = jsxProd);
|
|
createCacheKey = { header: null, text: null };
|
|
createCacheKey = {};
|
|
const merged = Object.assign(require("createTextStyle")(require("ME").Fonts.PRIMARY_BOLD, require("Themes").colors.MOBILE_TEXT_HEADING_PRIMARY, 24));
|
|
createCacheKey.textAlign = "center";
|
|
createCacheKey.marginVertical = 12;
|
|
createCacheKey[0] = createCacheKey;
|
|
createCacheKey[1] = { textAlign: "center", marginVertical: 8 };
|
|
createCacheKey = createCacheKey.createStyles(createCacheKey);
|
|
const result = require("jsxProd").fileFinishedImporting("modules/quarantine/native/QuarantineModeInfoAlert.tsx");
|
|
|
|
export default function QuarantineModeInfoAlert(onClose) {
|
|
const tmp = createCacheKey();
|
|
let obj = { onClose: onClose.onClose, children: null };
|
|
obj = { style: tmp.header, children: null };
|
|
const intl = require(1236) /* getSystemLocale */.intl;
|
|
obj[1] = intl.string(require(1236) /* getSystemLocale */.t.EouHwv);
|
|
const items = [callback(require(1297) /* Button */.LegacyText, obj), ];
|
|
obj = { style: tmp.text, variant: "text-md/medium", children: null };
|
|
const intl2 = require(1236) /* getSystemLocale */.intl;
|
|
obj[2] = intl2.string(require(1236) /* getSystemLocale */.t.zNPBMA);
|
|
items[1] = callback(require(4189) /* Text */.Text, obj);
|
|
obj[1] = items;
|
|
return callback2(importDefault(4622), obj);
|
|
};
|