UIKit React v3
UIKit React
UIKit
React
Version 3
Home
/
UIKit
/
React
/
Core components
withSendbird()
Copy link
We strongly recommend you to use the hook pattern from useSendbirdStateContext and React function componentswithSendbird()
.
The withSendbird()
component is an HOCChannel
, ChannelList
, and ChannelSettings
. You can also access data stored in the SendbirdProvider
state using withSendbird()
. These data are used to implement chat features and customize the UI of the modules.
Note : The Chat SDK can be accessed through
state.stores.sdkStore.sdk
orsendbirdSelectors.getSdk()
.