Skip to content

Commit

Permalink
docs: document EmojiPickerIcon move to emojis plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinCupela committed Jul 9, 2024
1 parent 7bc6b75 commit e45e57f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docusaurus/docs/React/release-guides/upgrade-to-v12.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,20 @@ import { encodeToMp3 } from 'stream-chat-react/mp3-encoder';

:::

## EmojiPickerIcon extraction to emojis plugin

The default `EmojiPickerIcon` has been moved to emojis plugin from which we already import `EmojiPicker` component.

:::important
**Action required**<br/>
In case you are importing `EmojiPickerIcon` in your code, make sure to adjust the import as follows:

```tsx
import { EmojiPickerIcon } from 'stream-chat-react/emojis';
```

:::

## Removal of duplicate uploads state in MessageInput

As of the version 12 of `stream-chat-react` the `MessageInputContext` will not expose the following state variables:
Expand Down

0 comments on commit e45e57f

Please sign in to comment.