MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / icon

Function icon

apps/web/ui/ConfigurationsView/CommunityChatRow/index.tsx:25–34  ·  view source on GitHub ↗
(chat: ChatType)

Source from the content-addressed store, hash-verified

23}
24
25function icon(chat: ChatType) {
26 switch (chat) {
27 case ChatType.MANAGERS:
28 return <RiChatCheckLine />;
29 case ChatType.MEMBERS:
30 return <RiChatCheckLine />;
31 case ChatType.NONE:
32 return <RiChatDeleteLine />;
33 }
34}
35
36export default function CommunityChatRow({
37 chat: initialChat,

Callers 1

CommunityChatRowFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected