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