import React from "react";
import "./Common_Heading_Round_holder.css";
import New_Lottie from "../../Animation/new_lottie/New_Lottie";

function Common_Heading_Round_holder({ headingText, newLottie }) {
  return (
    <>
      <section className="Common_Heading_Round_holder">
        <h4>{headingText}</h4>

        {newLottie && (
          <div className="new_lottie_div">
            <New_Lottie />
          </div>
        )}
      </section>
    </>
  );
}

export default Common_Heading_Round_holder;
