Created
January 4, 2019 02:41
-
-
Save CodingItWrong/9ee4b307dd87fcb3374aeb8d19206e2c 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
| export default class App extends Component { | |
| + handleSend = (newMessage) => { | |
| + } | |
| + | |
| render() { | |
| return ( | |
| <View> | |
| - <NewMessageForm /> | |
| + <NewMessageForm onSend={this.handleSend} /> | |
| </View> | |
| ); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment