mirror of
https://github.com/LucasVbr/todo-list.git
synced 2026-12-05 17:30:49 +00:00
fix: Update Dependencies
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user