import { useLottie } from "lottie-react"; import emptySearch from "../assets/emptySearch.json"; const EmptySearch = () => { const options = { animationData: emptySearch, loop: true, autoplay: true, }; const style = { height: 150, }; const { View } = useLottie(options, style); return <>{View}; }; export default EmptySearch;