Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
hardcoded group messages fed into sample RechatWindow
Browse files Browse the repository at this point in the history
#51 RechatWindow reads data with apollo graphql
  • Loading branch information
codekiln committed Feb 18, 2018
1 parent c43ccfa commit 7b93c77
Show file tree
Hide file tree
Showing 4 changed files with 287 additions and 199 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
let component = ReasonReact.statelessComponent("RechatUsersListItem");

let make = (~chatUser, _children) => {
let make = (~chatMessage, _children) => {
...component,
render: (_) => {
<li>
Expand All @@ -14,7 +14,7 @@ let make = (~chatUser, _children) => {
<span></span>
</div>
</div>
<div className="name">(ReasonReact.stringToElement(chatUser##username))</div>
<div className="name">(ReasonReact.stringToElement(chatMessage##text))</div>
<div className="rightBuffer"></div>
</div>
</a>
Expand Down
Loading

0 comments on commit 7b93c77

Please sign in to comment.