import { CheckCircleIcon } from "@heroicons/react/solid"; import classNames from "classnames"; import { useTags } from "components/search/hooks/useTags"; export const Dropdown = ({ open = false, onSelect, search, tags: selectedTags, }: { open: boolean; tags: string[]; search?: string; onSelect: (e: string) => void; }) => { const tags = useTags(); const filteredTags = tags?.filter((tag) => tag.includes(search || "")); return (
); };