SendbirdProvider is the most important component in UIKit for React because it's the context provider that passes the Chat SDK down to the child components. The React Context API is used to easily pass down data through components. By using
withSendBird() HOC or
SendbirdProvider. The following table shows a list of properties of the
Specifies the unique ID of the user.
Specifies an opaque string that identifies the user. It's recommended that every user has their own access token and provides it upon login for security. (Default: null)
Specifies a style that's applied to the entire client app. Available themes are light and dark. (Default: light)
Specifies the user's nickname. (Default: null)
Specifies the URL of the user's profile image. (Default: null)
Specifies the query factory class to retrieve a list of filtered users and manually added users. (Default: Chat SDK's ApplicationUserListQuery)
Specifies the prop to localize the date and time of the current user's client app using Localization object from date-fns. (Default: en-US)
Specifies a set of strings used in UIKit components. You can override the default language using the stringSet. (Default: null)
Specifies a set of colors used in the UIKit themes. You can override the theme using the colorSet. (Default: null)
Note : The
Appcomponent internally manages
SendbirdProvideras well as other components and can be used to configure the above properties.