Skip to content

Instantly share code, notes, and snippets.

@sairion
Last active November 15, 2015 20:10
Show Gist options
  • Save sairion/ad3aabc4894a489e869e to your computer and use it in GitHub Desktop.
Save sairion/ad3aabc4894a489e869e to your computer and use it in GitHub Desktop.
import React from 'react';
class Chat extends React.Component {
componentWillMount () {
}
render () {
return (
<div>
<Modal message={this.props.modal} />
<StatusBar user={this.props.user} />
<ChatRoom chatData={this.props.chatData} />
</div>
);
}
}
React.render(<Chat data={} /> document.body);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment