decord/beta/source/modules/vibegrations/native/getVibegrationsChannelIcon.tsx
github-actions e7a050048e chore: update source for beta 347.7
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
2026-09-21 19:31:18 +00:00

34 lines
1.3 KiB
TypeScript

// Module ID: 5274
// Function ID: 5275
// Name: getVibegrationsChannelIcon
// Dependencies: [5275, 5280, 5281, 5246, 5282, 2]
// Exports: getVibegrationsChannelIconComponent, getVibegrationsChannelIconSource
// Module 5274 (getVibegrationsChannelIcon)
import _modDef5246 from "module_5246" /* 5246 */;
import vibegrationsChannelIconKind from "vibegrationsChannelIconKind" /* 5275 */;
import _modDef5282 from "module_5282" /* 5282 */;
import size from "module_2" /* 2 */;
let result = size.fileFinishedImporting("modules/vibegrations/native/getVibegrationsChannelIcon.tsx");
export const getVibegrationsChannelIconComponent = function getVibegrationsChannelIconComponent(channel, getChannelIconComponent) {
const result = vibegrationsChannelIconKind.vibegrationsChannelIconKind(channel, getChannelIconComponent);
if ("apps" === result) {
return tmp(5280).AppsIcon;
} else if ("apps-lock" === result) {
return tmp(5281).AppsLockIcon;
} else {
return null;
}
};
export const getVibegrationsChannelIconSource = function getVibegrationsChannelIconSource(channel, getChannelIcon) {
const result = vibegrationsChannelIconKind.vibegrationsChannelIconKind(channel, getChannelIcon);
if ("apps" === result) {
return _modDef5246;
} else if ("apps-lock" === result) {
return _modDef5282;
} else {
return null;
}
};