Chat UIKit React Native v2
Chat UIKit React Native
Chat UIKit
React Native
Version 2
SendbirdChatProvider
Copy link
The SendbirdChatProvider
component is a provider within SendbirdUIKitContainer
that passes down the following context properties from the Chat SDK to the child components.
List of context properties
Copy link
Property | Type | Description |
---|---|---|
sdk |
| Specifies the Sendbird Chat SDK instance. |
currentUser |
| Specifies the online state of the current user. |
updateCurrentUserInfo |
| Updates a user's nickname and profile image with URL or file as well as the current user's online status. |
See the code below on how to pass down the context properties from the Chat SDK to the child components.