Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
42 lines
1.5 KiB
TypeScript
42 lines
1.5 KiB
TypeScript
// Module ID: 11699
|
|
// Function ID: 11700
|
|
// Name: GuildRoleConnectionsModal
|
|
// Dependencies: [19, 21, 1114, 7480, 7095, 11700, 7103, 2]
|
|
|
|
// Module 11699 (GuildRoleConnectionsModal)
|
|
import util from "util" /* 1114 */;
|
|
import noop from "module_19" /* 19 */;
|
|
|
|
require = fn;
|
|
const jsx = fn(21).jsx;
|
|
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) => {
|
|
guildId = guildId.guildId;
|
|
const onClose = guildId.onClose;
|
|
const items = [guildId, onClose];
|
|
const memo = noop.useMemo(() => {
|
|
closure_1 = onClose;
|
|
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() {
|
|
return null;
|
|
};
|
|
obj2.headerRight = function headerRight() {
|
|
const obj = { source: onClose(7095), onPress, accessibilityLabel: null };
|
|
const intl = guildId(1114).intl;
|
|
obj.accessibilityLabel = intl.string(guildId(1114).t.cpT0Cq);
|
|
return jsx(guildId(7480).HeaderActionButton, { source: onClose(7095), onPress, accessibilityLabel: null });
|
|
};
|
|
obj2.render = function render() {
|
|
return jsx(onClose(11700), { guildId, onCloseModal });
|
|
};
|
|
obj[GUILD_ROLE_CONNECTIONS_SCREEN] = obj2;
|
|
return obj;
|
|
}, items);
|
|
return jsx(guildId(7103).Navigator, { screens: memo, initialRouteName: GUILD_ROLE_CONNECTIONS_SCREEN });
|
|
});
|