diff --git a/src/components/buyer-tasks/buyer-task-items-list.tsx b/src/components/buyer-tasks/buyer-task-items-list.tsx new file mode 100644 index 0000000..e7432ff --- /dev/null +++ b/src/components/buyer-tasks/buyer-task-items-list.tsx @@ -0,0 +1,51 @@ +"use client"; + +import { useState } from "react"; +import { ChevronDown, ChevronRight } from "lucide-react"; +import { cn } from "@/lib/utils"; + +export type BuyerTaskItem = { + id: string; + description: string; + quantity: number; + costPrice: number; + sellingPrice: number; +}; + +export function BuyerTaskItemsList({ items }: { items: BuyerTaskItem[] }) { + const [open, setOpen] = useState(false); + + return ( +
+ + {open && ( + + )} +
+ ); +} \ No newline at end of file