decord/source/modules/native_permissions/mobile/PermissionsAlertModal.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

33 lines
1.3 KiB
TypeScript

// Module ID: 5149
// Function ID: 5150
// Name: PermissionsAlertModal
// Dependencies: [19, 21, 4910, 4910, 1114, 2]
// Exports: default
// Module 5149 (PermissionsAlertModal)
import noopAll from "noop" /* 19 */;
import getSystemLocale from "getSystemLocale" /* 1114 */;
import getAlertModalItemKey from "getAlertModalItemKey" /* 4910 */;
import jsxProd from "jsxProd" /* 21 */;
require = arg1;
noopAll;
({ jsx: obj1, jsxs: c3 } = jsxProd);
const result = require("set").fileFinishedImporting("modules/native_permissions/mobile/PermissionsAlertModal.tsx");
export default function PermissionsAlertModal(arg0) {
({ title, body, onConfirm } = arg0);
let obj = { title, content: body, actions: null };
obj = { children: null };
obj = { onPress: onConfirm, text: null };
const intl = getSystemLocale.intl;
obj[1] = intl.string(getSystemLocale.t.jVcuVY);
const items = [callback(getAlertModalItemKey.AlertActionButton, obj, "confirm"), ];
obj1 = { variant: "secondary", text: null };
const intl2 = getSystemLocale.intl;
obj1[1] = intl2.string(getSystemLocale.t.cpT0Cq);
items[1] = callback(getAlertModalItemKey.AlertActionButton, obj1, "close");
obj[0] = items;
obj[2] = callback2(getAlertModalItemKey.AlertActions, obj);
return callback(getAlertModalItemKey.AlertModal, obj);
};