Skip to content

Instantly share code, notes, and snippets.

@nparsons08 nparsons08/render-chat.js Secret
Created Jan 14, 2020

Embed
What would you like to do?
function renderChat() {
return (
<Chat client={chatClient} theme={"commerce light"}>
<Channel channel={channel}>
<Window>
<MyChannelHeader />
<MessageList
TypingIndicator={TypingIndicator}
Message={MessageCommerce}
/>
<MessageInput Input={MessageInputFlat} />
</Window>
</Channel>
</Chat>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.