decord/source/modules/connections/native/GuildRoleConnectionsModal.tsx

41 lines
1.5 KiB
TypeScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 9952
2026-07-27 11:26:19 +00:00
// Function ID: 77056
2026-07-25 08:10:48 +00:00
// Dependencies: [31, 33, 1212, 6695, 7640, 9953, 5517, 2]
2026-07-20 16:05:17 +00:00
2026-07-25 08:10:48 +00:00
// Module 9952
2026-07-23 10:11:24 +00:00
import importAllResult from "result";
import { jsx } from "jsxProd";
const require = arg1;
2026-07-20 16:05:17 +00:00
const memoResult = importAllResult.memo((guildId) => {
guildId = guildId.guildId;
const onClose = guildId.onClose;
const items = [guildId, onClose];
2026-07-23 10:11:24 +00:00
const screens = importAllResult.useMemo(() => (function getScreens(guildId, onClose) {
let closure_0 = guildId;
let closure_1 = onClose;
2026-07-20 16:05:17 +00:00
let obj = {};
obj = {};
2026-07-23 10:11:24 +00:00
let intl = guildId(outer2_2[2]).intl;
obj.title = intl.string(guildId(outer2_2[2]).t.ghtnss);
2026-07-20 16:05:17 +00:00
obj.headerLeft = function headerLeft() {
return null;
};
obj.headerRight = function headerRight() {
2026-07-23 10:11:24 +00:00
const obj = { source: onClose(outer3_2[4]), onPress: closure_1 };
const intl = guildId(outer3_2[2]).intl;
obj.accessibilityLabel = intl.string(guildId(outer3_2[2]).t.cpT0Cq);
return outer3_4(guildId(outer3_2[3]).HeaderActionButton, obj);
2026-07-20 16:05:17 +00:00
};
obj.render = function render() {
2026-07-23 10:11:24 +00:00
return outer3_4(onClose(outer3_2[5]), { guildId: closure_0, onCloseModal: closure_1 });
2026-07-20 16:05:17 +00:00
};
obj["GUILD_ROLE_CONNECTIONS_SCREEN"] = obj;
return obj;
2026-07-23 10:11:24 +00:00
})(guildId, onClose), items);
2026-07-24 07:16:23 +00:00
return jsx(guildId(5517).Navigator, { screens, initialRouteName: "GUILD_ROLE_CONNECTIONS_SCREEN" });
2026-07-20 16:05:17 +00:00
});
2026-07-23 10:11:24 +00:00
const result = require("getSystemLocale").fileFinishedImporting("modules/connections/native/GuildRoleConnectionsModal.tsx");
2026-07-20 16:05:17 +00:00
export default memoResult;