decord/source/modules/user_profile/native/UserProfileConfirmCancelFriendRequest.tsx

40 lines
1.8 KiB
TypeScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 11714
// Function ID: 11715
2026-07-20 16:05:17 +00:00
// Name: UserProfileConfirmCancelFriendRequest
2026-07-29 08:29:29 +00:00
// Dependencies: [19, 21, 4533, 1236, 4533, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-29 08:29:29 +00:00
// Module 11714 (UserProfileConfirmCancelFriendRequest)
import "noop";
2026-07-23 10:11:24 +00:00
import jsxProd from "jsxProd";
2026-07-29 08:29:29 +00:00
let c3;
let obj1;
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-07-29 08:29:29 +00:00
({ jsx: obj1, jsxs: c3 } = jsxProd);
2026-07-23 10:11:24 +00:00
const result = require("getAlertModalItemKey").fileFinishedImporting("modules/user_profile/native/UserProfileConfirmCancelFriendRequest.tsx");
2026-07-20 16:05:17 +00:00
export default function UserProfileConfirmCancelFriendRequest(arg0) {
let onConfirm;
let userDisplayName;
({ userDisplayName, onConfirm } = arg0);
2026-07-29 08:29:29 +00:00
let obj = { title: null, content: null, actions: null };
const intl = require(1236) /* getSystemLocale */.intl;
obj[0] = intl.string(require(1236) /* getSystemLocale */.t["bTfA//"]);
const intl2 = require(1236) /* getSystemLocale */.intl;
obj[1] = intl2.formatToPlainString(require(1236) /* getSystemLocale */.t["72FwjH"], { name: userDisplayName });
obj = { children: null };
obj = { variant: "destructive", text: null, onPress: null };
const intl3 = require(1236) /* getSystemLocale */.intl;
obj[1] = intl3.string(require(1236) /* getSystemLocale */.t["bTfA//"]);
obj[2] = onConfirm;
const items = [callback(require(4533) /* getAlertModalItemKey */.AlertActionButton, obj, "cancel-friend-request"), ];
const obj1 = { variant: "secondary", text: null };
const intl4 = require(1236) /* getSystemLocale */.intl;
obj1[1] = intl4.string(require(1236) /* getSystemLocale */.t["eN6+rI"]);
items[1] = callback(require(4533) /* getAlertModalItemKey */.AlertActionButton, obj1, "nevermind");
obj[0] = items;
obj[2] = callback2(require(4533) /* getAlertModalItemKey */.AlertActions, obj);
return callback(require(4533) /* getAlertModalItemKey */.AlertModal, obj);
2026-07-20 16:05:17 +00:00
};