Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4941.js (118.4 MB)
42 lines
1.5 KiB
TypeScript
42 lines
1.5 KiB
TypeScript
// Module ID: 11819
|
|
// Function ID: 11820
|
|
// Name: GuildRoleConnectionsModal
|
|
// Dependencies: [19, 21, 1115, 7617, 7232, 11820, 7240, 2]
|
|
|
|
// Module 11819 (GuildRoleConnectionsModal)
|
|
import util from "util" /* 1115 */;
|
|
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(7232), onPress, accessibilityLabel: null };
|
|
const intl = guildId(1115).intl;
|
|
obj.accessibilityLabel = intl.string(guildId(1115).t.cpT0Cq);
|
|
return jsx(guildId(7617).HeaderActionButton, { source: onClose(7232), onPress, accessibilityLabel: null });
|
|
};
|
|
obj2.render = function render() {
|
|
return jsx(onClose(11820), { guildId, onCloseModal });
|
|
};
|
|
obj[GUILD_ROLE_CONNECTIONS_SCREEN] = obj2;
|
|
return obj;
|
|
}, items);
|
|
return jsx(guildId(7240).Navigator, { screens: memo, initialRouteName: GUILD_ROLE_CONNECTIONS_SCREEN });
|
|
});
|