Guest User

Untitled

a guest
Apr 20th, 2019
58
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const Title = () => {
  2. <h1> MyTodoList </h1>
  3. }
  4.  
  5. const TodoItems = () => {
  6. <ul>
  7. <li>task 1</li>
  8. <li>task 2</li>
  9. <li>task 3</li>
  10. </ul>
  11. }
  12.  
  13. export const TodoList = () => {
  14. return(
  15. <div>
  16. <Title />
  17. <TodoItems />
  18. </div>
  19. )
  20. }
RAW Paste Data