Last active
December 13, 2018 13:21
-
-
Save lazorfuzz/8b5927e83442edba478039e0f8d6354f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
render() { | |
const { chatLog, options } = this.state; | |
return ( | |
<div className="App"> | |
<LioWebRTC | |
options={options} | |
onReady={this.join} | |
onCreatedPeer={this.handleCreatedPeer} | |
onReceivedPeerData={this.handlePeerData} | |
> | |
<ChatBox | |
chatLog={chatLog} | |
onSend={(msg) => msg && this.addChat('Me', msg)} | |
/> | |
</LioWebRTC> | |
</div> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment