Skip to content

Commit cc1eafe

Browse files
committed
chore: add EmojiPicker to the vite examples app
1 parent 9c9d05e commit cc1eafe

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/vite/src/App.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,14 @@ import {
1515
Chat,
1616
ChatView,
1717
MessageInput,
18-
SendButtonProps,
1918
Thread,
2019
ThreadList,
2120
useCreateChatClient,
2221
useMessageComposer,
2322
VirtualizedMessageList as MessageList,
2423
Window,
2524
} from 'stream-chat-react';
26-
import { createTextComposerEmojiMiddleware } from 'stream-chat-react/emojis';
25+
import { createTextComposerEmojiMiddleware, EmojiPicker } from 'stream-chat-react/emojis';
2726
import { init, SearchIndex } from 'emoji-mart';
2827
import data from '@emoji-mart/data';
2928

@@ -92,7 +91,7 @@ const App = () => {
9291
showChannelSearch
9392
additionalChannelSearchProps={{ searchForChannels: true }}
9493
/>
95-
<Channel emojiSearchIndex={SearchIndex}>
94+
<Channel emojiSearchIndex={SearchIndex} EmojiPicker={EmojiPicker}>
9695
<Window>
9796
<ChannelHeader Avatar={ChannelAvatar} />
9897
<MessageList returnAllReadData />

0 commit comments

Comments
 (0)