Skip to content

sadiosan/volkeno-react-countdown

Repository files navigation

volkeno-react-countdown

React Countdown Package work with Bootstrap 4 Image of Countdown

NPM JavaScript Style Guide

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

About

React Bootstrap Countdown

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published