decord/source/modules/avatar/native/components/RedesignSkipAvatarUploadAlertModal.tsx
2026-08-27 16:17:25 +00:00

36 lines
1.5 KiB
TypeScript

// Module ID: 16941
// Function ID: 16942
// Name: RedesignSkipAvatarUploadAlertModal
// Dependencies: [19, 21, 4815, 1236, 4815, 2]
// Exports: default
// Module 16941 (RedesignSkipAvatarUploadAlertModal)
import noopAll from "noop" /* 19 */;
import getSystemLocale from "getSystemLocale" /* 1236 */;
import getAlertModalItemKey from "getAlertModalItemKey" /* 4815 */;
import jsxProd from "jsxProd" /* 21 */;
require = arg1;
noopAll;
({ jsx: obj1, jsxs: c3 } = jsxProd);
const result = require("set").fileFinishedImporting("modules/avatar/native/components/RedesignSkipAvatarUploadAlertModal.tsx");
export default function RedesignSkipAvatarUploadAlertModal(onConfirm) {
let obj = { title: null, content: null, actions: null };
const intl = getSystemLocale.intl;
obj[0] = intl.string(getSystemLocale.t.DnKHuV);
const intl2 = getSystemLocale.intl;
obj[1] = intl2.string(getSystemLocale.t["1EPySE"]);
obj = { children: null };
obj = { onPress: onConfirm.onConfirm, text: null };
const intl3 = getSystemLocale.intl;
obj[1] = intl3.string(getSystemLocale.t.nhJ8OC);
const items = [callback(getAlertModalItemKey.AlertActionButton, obj, "confirm"), ];
obj1 = { variant: "secondary", text: null };
const intl4 = getSystemLocale.intl;
obj1[1] = intl4.string(getSystemLocale.t["7eZ3ji"]);
items[1] = callback(getAlertModalItemKey.AlertActionButton, obj1, "add-profile-picture");
obj[0] = items;
obj[2] = callback2(getAlertModalItemKey.AlertActions, obj);
return callback(getAlertModalItemKey.AlertModal, obj);
};