Skip to content

Instantly share code, notes, and snippets.

@neoighodaro
Created December 5, 2017 10:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neoighodaro/23e487378e96efd7e720365cc1ada210 to your computer and use it in GitHub Desktop.
Save neoighodaro/23e487378e96efd7e720365cc1ada210 to your computer and use it in GitHub Desktop.
class ToDoApp extends React.Component {
// ...
render() {
return (
<TodoComponent>
<h2>ToDo</h2>
<div>
<Input onChange={this.handleChange} />
<p>{this.state.error}</p>
<ToDoList value={this.state.display} />
</div>>
</TodoComponent>
)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment