import React from "react";
import "./Common_Heading_Round_holder.css";
import New_Lottie from "../../Animation/new_lottie/New_Lottie";
import { faPaw } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";

function Common_Heading_Round_holder({ headingText, newLottie }) {
  return (
    <>
      <section className="Common_Heading_Round_holder">
        <h4>
          {headingText}
          {"  "}
          <FontAwesomeIcon icon={faPaw} />
        </h4>
        {/* 
        {newLottie && (
          <div className="new_lottie_div">
            <New_Lottie />
          </div>
        )} */}
      </section>
    </>
  );
}

export default Common_Heading_Round_holder;
