1.0.0-alpha.2 • Published 5 years ago

@talixo/countdown v1.0.0-alpha.2

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

Talixo Countdown

UI Component which represents Countdown

How to install

Package is available as @talixo/countdown in NPM registry, so you can use it in your project using npm install @talixo/countdown --save or yarn add @talixo/countdown.

Requirements

Your package should additionally have some extra dependencies:

  • prop-types: ^15.6.1
  • react: ^16.2.0
  • react-dom: ^16.2.0
  • @talixo/shared: ^0.1.0

These packages are required by @talixo/countdown, but you have to install them manually, to avoid having different versions of these in your application.

Supported props

Property nameTypeRequiredDefaultDescription
classNamestringnon/aAdditional class name passed to wrapper
renderfunctionnoBasicCountdownRendererCustom function to render countdown by time left
targetDatestringyesn/aThe date to which it will count down

Changelog

  • 0.1.0 - initial version