We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bd4bec commit 1b07b64Copy full SHA for 1b07b64
examples/vite/src/App.tsx
@@ -1,6 +1,7 @@
1
import { ChannelFilters, ChannelOptions, ChannelSort } from 'stream-chat';
2
import {
3
Channel,
4
+ ChannelAvatar,
5
ChannelHeader,
6
ChannelList,
7
Chat,
@@ -73,10 +74,17 @@ const App = () => {
73
74
<ChatView>
75
<ChatView.Selector />
76
<ChatView.Channels>
- <ChannelList filters={filters} options={options} sort={sort} />
77
+ <ChannelList
78
+ Avatar={ChannelAvatar}
79
+ filters={filters}
80
+ options={options}
81
+ sort={sort}
82
+ showChannelSearch
83
+ additionalChannelSearchProps={{ searchForChannels: true }}
84
+ />
85
<Channel>
86
<Window>
- <ChannelHeader />
87
+ <ChannelHeader Avatar={ChannelAvatar} />
88
<MessageList returnAllReadData />
89
<MessageInput focus />
90
</Window>
0 commit comments