type Props = { code: string; label?: string; hint?: string; }; export function RewardCard({ code, label = 'Your code', hint = 'single-use - save it for the bar', }: Props) { return (
{label}
{code}
{hint}
); }