import { Todo, UserWithTodos } from '@homeman/models.ts' import { Button } from '@homeman/components/Button.tsx' export interface Props { user: UserWithTodos } export function TodoList( { user: { avatarUrl, assignedTodos, name, color } }: Props, ) { const todoItem = ( { classList, description }: Pick & { classList?: string }, ) => (
  • {description}
  • ) return (
    {name}
    ) }