import React from "react"; const Completionist = () => Closed; const CountDownRenderer = ({ days, hours, minutes, seconds, completed }) => { if (completed) { // Render a completed state return ; } else { // Render a countdown return (
days
hours
min
sec
); } }; export default CountDownRenderer;