import { Button } from "@heroui/react"; import BorderedButton from "@/components/common/BorderedButton"; interface EarnOpportunityCardProps { pointsLabel: string; title: string; subtitle: string; metricLabel: string; metricValue: string; buttonText: string; onButtonClick?: () => void; } export default function EarnOpportunityCard({ pointsLabel, title, subtitle, metricLabel, metricValue, buttonText, onButtonClick, }: EarnOpportunityCardProps) { return (
{subtitle}