import { Card } from "antd";
import "./OptionCard.scss";
interface OptionCardProps {
  icon: React.ReactNode;
  title: string;
  subtitle: string;
}
const OptionCard: React.FC<OptionCardProps> = ({ icon, title, subtitle }) => {
  return (
    <Card className="optionCard">
      {icon}
      <p className="title">{title}</p>
      <p className="subtitle">{subtitle}</p>
    </Card>
  );
};

export default OptionCard;
