Last active
August 21, 2020 16:22
-
-
Save isaidspaghetti/df91e8741a82e9bb890f1063b8252f38 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// frontend/src/Customer.js:66 | |
if (channel) { | |
return ( | |
<Chat client={chatClient} theme="commerce light"> | |
<Channel channel={channel}> | |
<Window> | |
<div className="stream-header"> | |
<div className="str-header-left"> | |
<p className="stream-header-left-title"> | |
Customer Support Chat | |
</p> | |
</div> | |
<div className="str-chat__header-livestream-right"> | |
Second National Bank | |
</div> | |
</div> | |
<MessageList | |
typingIndicator={TypingIndicator} | |
Message={MessageCommerce} | |
/> | |
<MessageInput Input={MessageInputFlat} focus /> | |
</Window> | |
</Channel> | |
</Chat> | |
); | |
} else { | |
//... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment