Last active
March 14, 2016 15:09
-
-
Save iofjuupasli/fd751b90fc15295ce029 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
return <div> | |
<header className="header"> | |
<h1>todos</h1> | |
<input | |
className="new-todo" | |
placeholder="What needs to be done?" | |
value={this.state.newTodo} | |
onKeyDown={this.handleNewTodoKeyDown(todo)} | |
onChange={this.handleChange(e)} | |
autoFocus=true | |
/> | |
</header> | |
<main/> | |
<footer/> | |
</div>; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment