JSFiddle - React, Tailwind, and code Playground

HTML

<span id="timeLeft">
</span>

JavaScript

var time = 60;
function countDown(timeLeft){
     $("#timeLeft").text(timeLeft);
    if(timeLeft!=0){
        setTimeout(function(){ countDown(--timeLeft); }, 1000);   
    }
}
countDown(time);