import type { CountdownState } from "../hooks/useCountdown"; interface CountdownProps { days: string; hours: string; minutes: string; seconds: string; state: CountdownState; label?: string; inProgressLabel?: string; finishedLabel?: string; } export function Countdown({ days, hours, minutes, seconds, state, label = "NOS VEMOS EN", inProgressLabel = "EVENTO EN CURSO", finishedLabel = "EVENTO FINALIZADO", }: CountdownProps) { if (state === "in_progress") { return (
{inProgressLabel}
{finishedLabel}
{label}