Skip to content

Commit

Permalink
Adjust imports in emoji-picker-v11.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
arnautov-anton committed Nov 2, 2023
1 parent aa40b5c commit b663c3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docusaurus/docs/React/release-guides/emoji-picker-v11.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ You can make the component slightly better using [`FloatingUI`](https://floating
Even though it's not explicitly provided by our SDK anymore, it's still possible for our integrators to use older version of the `emoji-mart` - specifically version `3.0.1` on top of which our old components were built. We don't recommend using old version of the `emoji-mart` but if you really need to, follow the [`3.0.1` documentation](https://github.com/missive/emoji-mart/tree/v3.0.1#picker) in combination with the previous guide to build your own `EmojiPicker` component with the old `emoji-mart` API. Beware though, if you wish to use slightly modified `emoji-mart` CSS previously supplied by our SDK by default in the main `index.css` file, you'll now have to explicitly import it:

```tsx
import 'stream-chat-react/dist/css/v2/index.css';
import 'stream-chat-react/dist/css/v2/emoji-mart.css';
import 'stream-chat-react/css/v2/index.css';
import 'stream-chat-react/css/v2/emoji-mart.css';
```

{/_ TODO: mention EmojiContext removal _/}

0 comments on commit b663c3f

Please sign in to comment.