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

43 lines
1.5 KiB
TypeScript
Raw Normal View History

// Module ID: 11712
// Function ID: 11713
// Name: GuildRoleConnectionsModal
// Dependencies: [19, 21, 1115, 7487, 7102, 11713, 7110, 2]
2026-07-20 16:05:17 +00:00
// Module 11712 (GuildRoleConnectionsModal)
import util from "util" /* 1115 */;
import noop from "module_19" /* 19 */;
2026-07-23 10:11:24 +00:00
require = fn;
const jsx = fn(21).jsx;
2026-07-29 08:29:29 +00:00
const GUILD_ROLE_CONNECTIONS_SCREEN = "GUILD_ROLE_CONNECTIONS_SCREEN";
const size = fn(2);
const result = size.fileFinishedImporting("modules/connections/native/GuildRoleConnectionsModal.tsx");
export default noop.memo((guildId) => {
2026-07-20 16:05:17 +00:00
guildId = guildId.guildId;
const onClose = guildId.onClose;
const items = [guildId, onClose];
const memo = noop.useMemo(() => {
closure_1 = onClose;
2026-07-20 16:05:17 +00:00
let obj = {};
const obj2 = { title: null, headerLeft: null, headerRight: null, render: null };
let intl = util.intl;
obj2.title = intl.string(util.t.ghtnss);
obj2.headerLeft = function headerLeft() {
2026-07-20 16:05:17 +00:00
return null;
};
obj2.headerRight = function headerRight() {
const obj = { source: onClose(7102), onPress, accessibilityLabel: null };
const intl = guildId(1115).intl;
obj.accessibilityLabel = intl.string(guildId(1115).t.cpT0Cq);
return jsx(guildId(7487).HeaderActionButton, { source: onClose(7102), onPress, accessibilityLabel: null });
2026-07-20 16:05:17 +00:00
};
obj2.render = function render() {
return jsx(onClose(11713), { guildId, onCloseModal });
2026-07-20 16:05:17 +00:00
};
obj[GUILD_ROLE_CONNECTIONS_SCREEN] = obj2;
2026-07-20 16:05:17 +00:00
return obj;
2026-07-29 08:29:29 +00:00
}, items);
return jsx(guildId(7110).Navigator, { screens: memo, initialRouteName: GUILD_ROLE_CONNECTIONS_SCREEN });
2026-07-20 16:05:17 +00:00
});