import { useState } from "react"; import { ArrowPathIcon } from "@heroicons/react/24/outline"; import { MagnifyingGlassIcon } from "@heroicons/react/20/solid"; interface HistorySearchProps { refresh: (query: string) => void; } export default function HistorySearch(props: HistorySearchProps) { let [searchQuery, setSearchQuery] = useState(""); return (