import { cn } from '@/lib/utils'; type Props = { step: number; totalSteps: number; title: string; tip: string; label?: string; optional?: boolean; }; export function PromptCard({ step, totalSteps, title, tip, label = 'Clip', optional }: Props) { const visibleTip = optional ? tip.replace(/^Optional\s*:\s*/i, '') : tip; return (
{label} {String(step).padStart(2, '0')} of {String(totalSteps).padStart(2, '0')}
{optional ? (
Optional
) : null}
{title}
{optional ? (
Record this only if you want. You can skip it.
) : null} {visibleTip ? (
{visibleTip}
) : null}
); }