diff --git a/src/app/(client-components)/(Header)/CurrencyDropdown.tsx b/src/app/(client-components)/(Header)/CurrencyDropdown.tsx new file mode 100644 index 0000000..ebd68bf --- /dev/null +++ b/src/app/(client-components)/(Header)/CurrencyDropdown.tsx @@ -0,0 +1,104 @@ +"use client"; + +import { Popover, Transition } from "@headlessui/react"; +import { ChevronDownIcon } from "@heroicons/react/24/solid"; +import { + CurrencyDollarIcon, + CurrencyBangladeshiIcon, + CurrencyEuroIcon, + CurrencyPoundIcon, + CurrencyRupeeIcon, + BanknotesIcon, +} from "@heroicons/react/24/outline"; +import { Fragment } from "react"; + +export const headerCurrency = [ + { + id: "EUR", + name: "EUR", + href: "##", + icon: CurrencyEuroIcon, + active: true, + }, + { + id: "USD", + name: "USD", + href: "##", + icon: CurrencyDollarIcon, + }, + { + id: "GBF", + name: "GBF", + href: "##", + icon: CurrencyBangladeshiIcon, + }, + { + id: "SAR", + name: "SAR", + href: "##", + icon: CurrencyPoundIcon, + }, + { + id: "QAR", + name: "QAR", + href: "##", + icon: CurrencyRupeeIcon, + }, +]; + +export default function CurrencyDropdown() { + return ( +
+ + {({ open, close }) => ( + <> + + + Currency + + + +
+ +
+
+
+ + )} +
+
+ ); +}