interface HeadingProp {
  title: string;
  subtitle: string;
}
const Heading = ({ title, subtitle }: HeadingProp) => {
  return (
    <div className="flex flex-col gap-2.5">
      <h2 className="text-3xl font-semibold">{title}</h2>
      <h4 className="text-lg text-slate-500">{subtitle}</h4>
    </div>
  );
};

export default Heading;
