import React from 'react';
import ReactDOM from 'react-dom';
import useCountDown from "../src"
const buttonStyle = { marginRight: '10px' };
const App = () => {
const [timeLeft, actions] = useCountDown(10000, 500);
return (
{(timeLeft / 1000).toFixed(2)}
);
};
const MOUNT_NODE = document.getElementById('react-root');
ReactDOM.render(, MOUNT_NODE);