Last active
October 31, 2017 00:22
-
-
Save AntonioErdeljac/6e03846fd6c4066fe4a4fda7d984a0fa 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
import React from "react"; | |
class Chat extends React.Component{ | |
render(){ | |
return ( | |
<div className="container"> | |
<div className="row"> | |
<div className="col-4"> | |
<div className="card"> | |
<div className="card-body"> | |
<div className="card-title">Global Chat</div> | |
<hr/> | |
<div className="messages"> | |
</div> | |
</div> | |
<div className="card-footer"> | |
<input type="text" placeholder="Username" className="form-control"/> | |
<br/> | |
<input type="text" placeholder="Message" className="form-control"/> | |
<br/> | |
<button className="btn btn-primary form-control">Send</button> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
); | |
} | |
} | |
export default Chat; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment