Skip to content

Instantly share code, notes, and snippets.

@isaidspaghetti
Last active August 20, 2020 21:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isaidspaghetti/c55cd6cf9167f4463ad04a2df677091e to your computer and use it in GitHub Desktop.
Save isaidspaghetti/c55cd6cf9167f4463ad04a2df677091e to your computer and use it in GitHub Desktop.
//frontend/src/Admin.js:59
return (
<Chat client={chatClient} theme={"messaging light"}>
<ChannelList
sort={{ last_message_at: -1 }}
Preview={ChannelPreviewMessenger}
onSelect={(channel) => { setChannel(channel); }}
/>
<Channel>
<Window>
<ChannelHeader />
<MessageList />
<MessageInput focus />
</Window>
<Thread />
</Channel>
</Chat >
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment