Created
March 27, 2016 12:45
-
-
Save dai-shi/1c0c67f6d53456e276d1 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
| diff --git a/imports/ui/App.jsx b/imports/ui/App.jsx | |
| index 8f1bf8b..c452da9 100644 | |
| --- a/imports/ui/App.jsx | |
| +++ b/imports/ui/App.jsx | |
| @@ -18,6 +18,14 @@ class App extends Component { | |
| <div className="container"> | |
| <header> | |
| <h1>Todo List</h1> | |
| + | |
| + <form className="new-task" onSubmit={this.handleSubmit.bind(this)} > | |
| + <input | |
| + type="text" | |
| + ref="textInput" | |
| + placeholder="Type to add new tasks" | |
| + /> | |
| + </form> | |
| </header> | |
| <ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment