From 9938f479769cc55fbd72e5f3150c3ed4630ea22a Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Wed, 17 Jan 2024 11:52:37 -0600 Subject: [PATCH] Expand better --- islands/TodoList.tsx | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/islands/TodoList.tsx b/islands/TodoList.tsx index 3612a69..2842745 100644 --- a/islands/TodoList.tsx +++ b/islands/TodoList.tsx @@ -2,6 +2,8 @@ import { Todo, UserWithTodos } from '@homeman/models.ts' import { JSX } from 'preact' import { Button } from '@homeman/components/Button.tsx' import { Avatar } from '@homeman/components/Avatar.tsx' +import { ChevronDoubleDownOutline, ChevronDownOutline } from 'preact-heroicons' +import { ChevronDownMiniSolid } from 'preact-heroicons' export interface Props { user: UserWithTodos @@ -90,14 +92,15 @@ export function TodoList( {doneTodos.length > 0 ? ( - - +{doneTodos.length} completed todos -
-
    - {doneTodos.map(todoItem)} -
-
-
+
+ + +{doneTodos.length} completed todos + + + +
) : ''}