Created
October 7, 2018 14:46
-
-
Save lomse/38d687f133db9dd4b5fa046e72022560 to your computer and use it in GitHub Desktop.
TodoList.jsx - react-todo-app
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
import React from 'react' | |
const TodoList = () => ( | |
<ul className="todoList"> | |
<li> | |
<label htmlFor="todo-1"> | |
<input type="checkbox" id="todo-1" /> | |
Learn React.js | |
</label> | |
</li> | |
<li> | |
<label htmlFor="todo-2"> | |
<input type="checkbox" id="todo-2" /> | |
Learn Vue.js | |
</label> | |
</li> | |
<li> | |
<label htmlFor="todo-3"> | |
<input type="checkbox" id="todo-3" /> | |
Learn Laravel | |
</label> | |
</li> | |
</ul> | |
) | |
export default TodoList |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment