diff --git a/packages/react-chat/src/components/Form/ChannelMenu.tsx b/packages/react-chat/src/components/Form/ChannelMenu.tsx
index a4fdf4d1..4a66adff 100644
--- a/packages/react-chat/src/components/Form/ChannelMenu.tsx
+++ b/packages/react-chat/src/components/Form/ChannelMenu.tsx
@@ -5,8 +5,27 @@ import { useMessengerContext } from "../../contexts/messengerProvider";
import { useNarrow } from "../../contexts/narrowProvider";
import { ChannelData } from "../../models/ChannelData";
import { ChatMessage } from "../../models/ChatMessage";
+import { CheckSvg } from "../Icons/CheckIcon";
+import { ClearSvg } from "../Icons/ClearIcon";
+import { MembersSmallSvg } from "../Icons/MembersSmallIcon";
+import { MuteSvg } from "../Icons/MuteIcon";
import { textSmallStyles } from "../Text";
+type MenuItemProps = {
+ Svg: ({ width, height }: { width: number; height: number }) => JSX.Element;
+ text: string;
+ onClick: () => void;
+};
+
+function MenuItem({ Svg, text, onClick }: MenuItemProps) {
+ return (
+ -
+
+ {text}
+
+ );
+}
+
interface ChannelMenuProps {
channel: ChannelData;
@@ -34,74 +53,25 @@ export const ChannelMenu = ({
switchMemberList();
setShowChannelMenu(false);
}}
- >
-
- View members
-
+ Svg={MembersSmallSvg}
+ text="View Members"
+ />
)}
-
-
-
+