volkeno-react-countdown
v1.0.3
Published
React Countdown Package bootstraped with Bootstrap 4
Downloads
2
Readme
volkeno-react-countdown
React Countdown Package work with Bootstrap 4
Install
npm install --save volkeno-react-countdown
Usage
import React, { Component } from 'react'
import { CountDown } from 'volkeno-react-countdown'
import 'volkeno-react-countdown/dist/countdownComponent/CountdownComponent.css'
class ExampleComponent extends Component {
render() {
return(
<CountDown
deadline={`31 Jan 2021 09:00:00 GMT+1`}
dayTextLabel={ 'days' }
hourTextLabel={ 'hours' }
minuteTextLabel={ 'minutes' }
secondTextLabel={ 'seconds' }
boxWidth="100"
boxHeight="100"
textLineHeight="82"
textFontSize="30"
textFontWeight="700"
className="my-best-countdown-class"
/>
)
}
}
License
MIT © by sadiosan volkeno