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
The [`Channel`](../components/core-components/channel.mdx) component is a React Context provider that wraps all of the logic, functionality, and UI for an individual chat channel.
124
124
It provides five separate contexts to its children:
125
125
126
-
:::caution
127
-
`EmojiContext` has been removed in version `11.0.0`, see related release guides ([Introducing new reactions](../release-guides/upgrade-to-v11.mdx#introducing-new-reactions), [Dropping support for built-in `EmojiPicker`](../release-guides/upgrade-to-v11.mdx#dropping-support-for-built-in-emojipicker) and [Dropping support for built-in `EmojiIndex`](../release-guides/upgrade-to-v11.mdx#dropping-support-for-built-in-emojiindex)) to adjust your integration to this new change.
128
-
:::
129
-
130
126
-[`ChannelStateContext`](../components/contexts/channel-state-context.mdx) - stateful data (ex: `messages` or `members`)
131
127
-[`ChannelActionContext`](../components/contexts/channel-action-context.mdx) - action handlers (ex: `sendMessage` or `openThread`)
132
128
-[`ComponentContext`](../components/contexts/component-context.mdx) - custom component UI overrides (ex: `Avatar` or `Message`)
133
-
-[`EmojiContext`](../components/contexts/emoji-context.mdx) - emoji UI components and data (ex: `EmojiPicker` or `emojiConfig`) - removed in `11.0.0`
134
129
-[`TypingContext`](../components/contexts/typing-context.mdx) - object of currently typing users (i.e., `typing`)
135
130
136
131
### ChannelList
@@ -188,7 +183,7 @@ Make sure to read ["Dropping support for built-in `EmojiPicker`"](../release-gui
188
183
In addition to the above referenced UI components, client instantiation, and user connection, you need little other code to get a fully functioning chat application up and running. See below for an example of the complete code.
189
184
190
185
:::note
191
-
Remember our [Theming](../guides/theming/overview.mdx) and [Customizing Components](../guides/customization/overview.mdx) sections in our guides. They offer you a lot of flexibility when adopting our SDK.
186
+
Remember our [Theming](../theming/introduction.mdx) and [Customizing Components](../guides/customization/overview.mdx) sections in our guides. They offer you a lot of flexibility when adopting our SDK.
Copy file name to clipboardexpand all lines: docusaurus/docs/React/basics/overview.mdx
+3-3
Original file line number
Diff line number
Diff line change
@@ -24,12 +24,12 @@ If you are new to our SDK it is best to go through a of our [tutorial](https://g
24
24
After that, our [getting started page](./getting-started.mdx) is a great next step.
25
25
26
26
:::tip
27
-
If you are integrating our SDK, please pay attention to our [Theming](../guides/theming/overview.mdx) and [Customizing Components](../guides/customization/overview.mdx) sections in our guides. We see that most of our users can get very far by utilizing the flexibility of our SDKs.
27
+
If you are integrating our SDK, please pay attention to our [Theming](../theming/introduction.mdx) and [Customizing Components](../guides/customization/overview.mdx) sections in our guides. We see that most of our users can get very far by utilizing the flexibility of our SDKs.
28
28
:::
29
29
30
30
## Architecture
31
31
32
-
A common pattern in the library is the use of context provider hooks (see [Contexts](./contexts/chat_context)). These custom hooks allow for effective value sharing between parent components and their children.
32
+
A common pattern in the library is the use of context provider hooks. These custom hooks allow for effective value sharing between parent components and their children.
33
33
This makes customization straightforward, as you can use our exported hooks in your custom components to receive the exact values needed, while also subscribing to context changes.
34
34
35
-
The left navigation will guide you to the various documentation sections for information on everything regarding our robust component library. Check out the instructions below for adding the library to your React project.
35
+
The left navigation will guide you to the various documentation sections for information on everything regarding our robust component library. Check out the instructions below for adding the library to your React project.
|`channel`|`Channel`| The current channel object instance |
266
264
|`setChannelUnreadUiState`|`(state: ChannelUnreadUiState) => void`| Function that allows us to set the unread state for the components reflecting the unread message state. |
| class |[NimbleEmojiIndex](https://github.com/missive/emoji-mart/blob/v3.0.1/src/utils/emoji-index/nimble-emoji-index.js)|
335
-
336
-
### emojiSearchIndex (available since `11.0.0`)
302
+
### emojiSearchIndex
337
303
338
-
Custom search mechanism instance or object to enable emoji autocomplete. See ["Dropping support for built-in `EmojiIndex`"](../../release-guides/upgrade-to-v11.mdx#dropping-support-for-built-in-emojiindex) release guide for more information.
304
+
Custom search mechanism instance or object to enable emoji autocomplete.
339
305
340
306
| Type | Default |
341
307
| ------ | --------- |
342
308
| object | undefined |
343
309
344
-
### EmojiPicker (changed in `11.0.0`)
310
+
### EmojiPicker
345
311
346
-
Custom UI component to override default `NimblePicker` from `emoji-mart`. Markup structure changed in `11.0.0`, see ["Dropping support for built-in `EmojiPicker`"](../../release-guides/upgrade-to-v11.mdx#dropping-support-for-built-in-emojipicker) release guide for more information.
312
+
Custom UI component to be rendered in the `MessageInput` component, see [Emoji Picker guide](../../guides/customization/emoji-picker.mdx) for more information.
0 commit comments