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