Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
33 lines
1.2 KiB
TypeScript
33 lines
1.2 KiB
TypeScript
// Module ID: 5234
|
|
// Function ID: 5235
|
|
// Name: PermissionsAlertModal
|
|
// Dependencies: [19, 21, 4988, 4988, 1115, 2]
|
|
// Exports: default
|
|
|
|
// Module 5234 (PermissionsAlertModal)
|
|
import util from "util" /* 1115 */;
|
|
import AlertModal from "AlertModal" /* 4988 */;
|
|
import noop from "module_19" /* 19 */;
|
|
|
|
require = fn;
|
|
const jsxProd = fn(21);
|
|
({ jsx: c2, jsxs: c3 } = jsxProd);
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("modules/native_permissions/mobile/PermissionsAlertModal.tsx");
|
|
|
|
export default function PermissionsAlertModal(arg0) {
|
|
({ title, body, onConfirm } = arg0);
|
|
const obj = { title, content: body, actions: null };
|
|
const obj2 = { children: null };
|
|
const obj3 = { onPress: onConfirm, text: null };
|
|
const intl = util.intl;
|
|
obj3.text = intl.string(util.t.jVcuVY);
|
|
const items = [React2(AlertModal.AlertActionButton, obj3, "confirm"), ];
|
|
const obj4 = { variant: "secondary", text: null };
|
|
const intl2 = util.intl;
|
|
obj4.text = intl2.string(util.t.cpT0Cq);
|
|
items[1] = React2(AlertModal.AlertActionButton, obj4, "close");
|
|
obj2.children = items;
|
|
obj.actions = React3(AlertModal.AlertActions, obj2);
|
|
return React2(AlertModal.AlertModal, obj);
|
|
};
|