import React from "react";
import Lottie from "react-lottie";
import "./New_Lottie.css";
import animationData from "./New_Lottie.json";

function New_Lottie() {
  const defaultOptions = {
    loop: true,
    autoplay: true,
    animationData: animationData,
    rendererSettings: {
      preserveAspectRatio: "xMidYMid slice",
    },
  };

  return (
    <section className="main">
      <div className="New_Lottie_icon">
        <Lottie
          className="me-auto"
          options={defaultOptions}
          // height={60}
          // width={60}
        />
      </div>
    </section>
  );
}
export default New_Lottie;
