You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
361 B
20 lines
361 B
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;
|
|
|