import Image from "next/image"; interface ISearchBarProps { onTextChanged: (text: string) => void; } const SearchBar: React.FC = (props) => { return (
props.onTextChanged(e.target.value)} className="block w-full rounded-md border-0 py-1.5 pl-8 pr-14 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6" />
); }; export default SearchBar;