import React from 'react'; import { Store } from '../store'; // TODO: import DefaultButton, Stack, and Text interface TodoFooterProps { clear: () => void; todos: Store['todos']; } export const TodoFooter = (props: TodoFooterProps) => { const itemCount = Object.keys(props.todos).filter(id => !props.todos[id].completed).length; // TODO: // 1. replace the ); };