Put the ChatBase component a root component.
<ChatBase appId="sendbird-app-id" />
Put the ChatRoomBase component in the room component.
<ChatRoomBase channelName="sendbird-channel-name" />
Put the following where ever you want to render the chat
<Chat />