import "./event-countdown.css";
import React from 'react';
import DateTimeDisplay from './date-time-display';
import useCountdown from './event-countdown';
const ExpiredNotice = () => {
return (
Congratulations!
Your event has completed!
);
};
const ShowCounter = ({ days, hours, minutes, seconds }) => {
return (
);
};
const CountdownTimer = ({ targetDate }) => {
const [days, hours, minutes, seconds] = useCountdown(targetDate);
if (days + hours + minutes + seconds <= 0) {
return ;
} else {
return (
);
}
};
export default CountdownTimer;