Skip to content

Instantly share code, notes, and snippets.

@iofjuupasli
Last active March 14, 2016 15:09
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 iofjuupasli/fd751b90fc15295ce029 to your computer and use it in GitHub Desktop.
Save iofjuupasli/fd751b90fc15295ce029 to your computer and use it in GitHub Desktop.
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