time-date-countdown
Version:
stable version 2 published
45 lines (26 loc) • 1.32 kB
Markdown
# Getting Started with time-date-countdown
countdowntimer with days,hours, minute, and seconds.
`Days` `Hours` `Minutes` `seconds`
<img src="https://res.cloudinary.com/dzb83gkul/image/upload/v1631620060/deiklnscusgj0v9uh3fz.png" />
## Prerequisites
This is an example of how to use the component and how to install them.
`using npm`
```npm i time-date-countdown```
## Usage
```import CountDownTimer from "time-date-countdown";
export default function App() {
return (
<div>
<CountDownTimer />
</div>
);
}
Open Demo [Codesandbox](https://codesandbox.io/s/cdmm8) to view it in the browser.
| ----Props---- | --required--- | -description- |
| ------------- | ------------- | ----------------------------------|
| targetDate | true | -date to target for the countdown-|
| containerStyles | false | main container style |
| containerClassv2 | false | main container style class |
| eachContainerStyle | false | each module container class Name |
| eachCountLetterStylev2 | false | each count letter style |
| textLabelClassv2 | false | title text style |