import type { ReactNode } from "react"; export interface CardHeaderProps { icon?: ReactNode; title: string; accentText?: string; price: string; className?: string; } export function CardHeader({ icon, title, accentText, price, className = "", }: CardHeaderProps) { return (
{icon && (
{icon}
)}

{title} {accentText && ( <> {" "} {accentText} )}

from {price}

); }