Created
December 5, 2017 10:50
-
-
Save neoighodaro/23e487378e96efd7e720365cc1ada210 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
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