fix: Update Dependencies

This commit is contained in:
Lucàs
2024-05-04 13:37:01 +02:00
parent 8e55d6d7b7
commit be56f9c72b
27 changed files with 1198 additions and 1740 deletions
+15
View File
@@ -0,0 +1,15 @@
import TodoItem from './TodoItem.tsx';
import type TodoState from '../../models/TodoState.ts';
import clsx from 'clsx';
type Props = {
todos: TodoState[]
}
export default function TodoItemList({todos}: Props) {
return (
<div className={clsx('TodoItemList', 'w-full flex flex-col gap-2')}>
{todos.map((todo: TodoState, index) => <TodoItem todo={todo} key={index}/>)}
</div>
);
}