diff --git a/src/components/filter.tsx b/src/components/filter.tsx index 59aa1df..f1b2580 100644 --- a/src/components/filter.tsx +++ b/src/components/filter.tsx @@ -1,8 +1,9 @@ -import { ReactNode } from "react"; +import { ReactNode, useState } from "react"; import { AdjustmentsHorizontalIcon, CheckIcon, + XMarkIcon, } from "@heroicons/react/24/outline"; import { Button, @@ -105,26 +106,42 @@ export const Filter = ({ }: { children: ReactNode; className?: string; -}) => ( - - - - - {children} - - - -); +}) => { + const [isOpen, setIsOpen] = useState(false); + + return ( + + + + + + + + {children} + + + + ); +};