Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const Title = () => {
- <h1> MyTodoList </h1>
- }
- const TodoItems = () => {
- <ul>
- <li>task 1</li>
- <li>task 2</li>
- <li>task 3</li>
- </ul>
- }
- export const TodoList = () => {
- return(
- <div>
- <Title />
- <TodoItems />
- </div>
- )
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement