refactor(task): componentize task item and implement delete and toggle logic

This commit is contained in:
2026-04-27 14:22:56 +02:00
parent 38182aa402
commit 6d22fc9e1e
3 changed files with 41 additions and 2 deletions
+6
View File
@@ -0,0 +1,6 @@
export interface Task {
id: number;
title: string;
completed: boolean;
createdAt: string;
}