Custom UI- Community

Add your component within Root with this line:

<Delivered.Community render={props => <YourCustomComponent {...props} />} />

Functionalities

  • toggle the searchUser and searchChats values to display the respective components

Provided props

  • openProperty(property) (function) changes the property’s value to true. THe property can either be searchChatsOpen or searchUser.
  • updateCurrentChat (function) reopens the previous currentChat. OnClick function for a ‘back’ element.
  • searchChatsOpen (boolean) indicates whether or not the chat search is open.
  • searchUser (boolean) indicates whether or not the user search is open.

Next: SearchUsers