react-count-down is a simple count down component using react.
yarn add react-count-down
importCountdownfrom'react-count-down'importReactDOMfrom'react-dom'importReact,{Component,PropTypes}from'react'constcb=()=>{console.log('expired callback')}constOPTIONS={endDate: '03/01/2020 10:55 AM',prefix: 'until my birthday!',
cb
}constTestComponent=()=>(<div><Countdownoptions={OPTIONS}/></div>)ReactDOM.render(<TestComponent/>,document.getElementById('root'))yarn
yarn dev
yarn test
yarn
yarn build
npm login
npm version patch
git add -A
git push origin master
npm publish