Skip to content

Instantly share code, notes, and snippets.

@CodingItWrong
Created January 4, 2019 02:41
Show Gist options
  • Select an option

  • Save CodingItWrong/9ee4b307dd87fcb3374aeb8d19206e2c to your computer and use it in GitHub Desktop.

Select an option

Save CodingItWrong/9ee4b307dd87fcb3374aeb8d19206e2c to your computer and use it in GitHub Desktop.
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