decord/source/modules/native_permissions/mobile/PermissionsAlertModal.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

33 lines
1.3 KiB
TypeScript

// Module ID: 5110
// Function ID: 5111
// Name: PermissionsAlertModal
// Dependencies: [19, 21, 4871, 4871, 1233, 2]
// Exports: default
// Module 5110 (PermissionsAlertModal)
import noopAll from "noop" /* 19 */;
import getSystemLocale from "getSystemLocale" /* 1233 */;
import getAlertModalItemKey from "getAlertModalItemKey" /* 4871 */;
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);
};