Created
January 4, 2019 02:42
-
-
Save CodingItWrong/4d2d18020f0af862b5c1df51b4ea4f8b 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 NewMessageForm from './NewMessageForm'; | |
+import MessageList from './MessageList'; | |
... | |
render() { | |
+ const { messages } = this.state; | |
return ( | |
<View> | |
<NewMessageForm onSend={this.handleSend} /> | |
+ <MessageList data={messages} /> | |
</View> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment