import { Search } from "lucide-react"; import { getFieldError } from "@/client/lib/forms"; import { isResultLimit, normalizeKeywordMode, } from "@/client/features/keywords/keywordSearchParams"; import { RESULT_LIMITS } from "@/client/features/keywords/keywordResearchTypes"; import { LOCATION_OPTIONS } from "@/client/features/keywords/locations"; import type { KeywordResearchControllerState } from "./types"; type Props = { controller: KeywordResearchControllerState; }; export function KeywordResearchSearchBar({ controller }: Props) { const { controlsForm, handleSearchSubmit, isLoading } = controller; return (
{keywordError}
) : null; }}