Closed ytanaka44 closed 8 months ago
TodoListProps
にfileterFunction
を追加
interface TodoListProps {
todos: TodoState[];
setTodos: React.Dispatch<React.SetStateAction<TodoState[]>>;
fetchTodos: () => void;
filterFunction: (todo: TodoState) => boolean;
}
背景