Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.