decord/beta/source/modules/vibegrations/lib/vibegrationsChannelIconKind.tsx
2026-10-01 14:13:23 +00:00

28 lines
900 B
TypeScript

// Module ID: 5369
// Function ID: 5370
// Name: vibegrationsChannelIconKind
// Dependencies: [5370, 5373, 2]
// Exports: vibegrationsChannelIconKind
// Module 5369 (vibegrationsChannelIconKind)
import VibegrationsUtils from "VibegrationsUtils" /* 5370 */;
import isRoleRequiredDefault from "isRoleRequired" /* 5373 */;
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("modules/vibegrations/lib/vibegrationsChannelIconKind.tsx");
export const vibegrationsChannelIconKind = function vibegrationsChannelIconKind(channel, getChannelIconComponent) {
let tmp = null;
if (null != channel) {
tmp = null;
const obj = VibegrationsUtils;
if (obj.isVibegrationsChannelCandidate(channel, getChannelIconComponent)) {
let str = "apps";
if (isRoleRequiredDefault(channel)) {
str = "apps-lock";
}
tmp = str;
}
}
return tmp;
};