You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** If the component's channel is the active (selected) Channel */
25
-
active?: boolean;
26
24
/** Image of Channel to display */
27
25
displayImage?: string;
28
26
/** Title of Channel to display */
@@ -46,6 +44,8 @@ export type ChannelPreviewProps<
46
44
>={
47
45
/** Comes from either the `channelRenderFilterFn` or `usePaginatedChannels` call from [ChannelList](https://github.com/GetStream/stream-chat-react/blob/master/src/components/ChannelList/ChannelList.tsx) */
48
46
channel: Channel<StreamChatGenerics>;
47
+
/** If the component's channel is the active (selected) Channel */
48
+
active?: boolean;
49
49
/** Current selected channel object */
50
50
activeChannel?: Channel<StreamChatGenerics>;
51
51
/** UI component to display an avatar, defaults to [Avatar](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Avatar/Avatar.tsx) component and accepts the same props as: [ChannelAvatar](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Avatar/ChannelAvatar.tsx) */
0 commit comments