import Image from "next/image";

const CardComponent = ({ heading, price, icon }) => {
  return (
    <div className="card-custom">
      <div className="icon">
        <Image src={icon} width={70} height={70} loading="lazy" />
      </div>
      <div className="heading">{heading}</div>
      <div className="price">{price}</div>
    </div>
  );
};
export default CardComponent;
