import { ContentType } from "@/types" import { FC } from "react" import { Input } from "../ui/input" import { useTranslation } from "react-i18next"; interface SidebarSearchProps { contentType: ContentType searchTerm: string setSearchTerm: Function } export const SidebarSearch: FC = ({ contentType, searchTerm, setSearchTerm }) => { const { t } = useTranslation(); return ( setSearchTerm(e.target.value)} /> ) }