// Metro module 15364 (f15365). import { ChannelTypes } from "../../../../Constants"; import { AnnouncementsIcon } from "../../../../design/components/Icon/native/redesign/generated/AnnouncementsIcon"; import { VoiceNormalIcon } from "../../../../design/components/Icon/native/redesign/generated/VoiceNormalIcon"; import { StageIcon } from "../../../../design/components/Icon/native/redesign/generated/StageIcon"; import { TextIcon } from "../../../../design/components/Icon/native/redesign/generated/TextIcon"; import { ForumIcon } from "../../../../design/components/Icon/native/redesign/generated/ForumIcon"; import { ImageIcon } from "../../../../design/components/Icon/native/redesign/generated/ImageIcon"; export function getIconForChannel({ type }) { if (ChannelTypes.GUILD_ANNOUNCEMENT === type) { return AnnouncementsIcon; } if (ChannelTypes.GUILD_VOICE === type) { return VoiceNormalIcon; } if (ChannelTypes.GUILD_STAGE_VOICE === type) { return StageIcon; } if (ChannelTypes.GUILD_TEXT === type) { return TextIcon; } if (ChannelTypes.GUILD_FORUM === type) { return ForumIcon; } if (ChannelTypes.GUILD_MEDIA === type) { return ImageIcon; } return TextIcon; }