diff --git a/src/App.tsx b/src/App.tsx index a399287bd..dfcf79d27 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,5 +1,8 @@ /* eslint-disable jsx-a11y/control-has-associated-label */ import React from 'react'; +import { Header } from './components/Header'; +import { TodoList } from './components/TodoList'; +import { Footer } from './components/Footer'; export const App: React.FC = () => { return ( @@ -7,150 +10,11 @@ export const App: React.FC = () => {

todos

-
- {/* this button should have `active` class only if all todos are completed */} - -
- - {/* This todo is an active todo */} -
- - - - Not Completed Todo - - - -
- - {/* This todo is being edited */} -
- - - {/* This form is shown instead of the title and remove button */} -
- -
-
- - {/* This todo is in loadind state */} -
- - - - Todo is being saved now - - - -
- - - {/* Hide the footer if there are no todos */} - +