+
todos
+
+
+
+
+ {todos && (
+
+ )}
+
+ {todos.length > 0 && (
+
+ )}
+
+
+ {error && (
+
+ )}
+
);
};
diff --git a/src/components/footer.tsx b/src/components/footer.tsx
new file mode 100644
index 0000000000..57294aa87b
--- /dev/null
+++ b/src/components/footer.tsx
@@ -0,0 +1,58 @@
+import React from 'react';
+import { TodoCount } from './todoCount';
+import { Todo } from '../types/Todo';
+import { FilterOption } from '../types/filterOption';
+
+interface Props {
+ handleSetFilter: (newFilter: FilterOption) => void;
+ todos: Todo[];
+ setTodos: (todos: Todo[]) => void;
+}
+
+export const Footer: React.FC