36 lines
1.5 KiB
TypeScript
36 lines
1.5 KiB
TypeScript
// Module ID: 17453
|
|
// Function ID: 17454
|
|
// Name: RedesignSkipAvatarUploadAlertModal
|
|
// Dependencies: [19, 21, 4910, 1114, 4910, 2]
|
|
// Exports: default
|
|
|
|
// Module 17453 (RedesignSkipAvatarUploadAlertModal)
|
|
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/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);
|
|
};
|