dom-simple-react-countdown

A Simple countdown component for React.

Usage no npm install needed!

<script type="module">
  import domSimpleReactCountdown from 'https://cdn.skypack.dev/dom-simple-react-countdown';
</script>

README

React Countdown by Dom

A Simple countdown component for React.

Installation:

npm i dom-simple-react-countdown

yarn add dom-simple-react-countdown

Live Demo:

Live Demo

Usage:

import React from 'react';
import Countdown from "dom-simple-react-countdown";

function App() {
  return (
    <div>
      <Countdown date={new Date('Jun 05, 2020 09:50')}/>
    </div>
  );
}

export default App;
Props:
Name Description Type Default
date The Date to count down String null
showLabels Decide whetever to show or hide Labels Boolean true