Skip to content

nixjs/ts-countdown-react

Repository files navigation

@nixjs23n6/ts-countdown-react

A customizable countdown component for React.

Quick Setup

Install

Install these dependencies:

yarn add @nixjs23n6/ts-countdown-react

Setup & Usage

import { Countdown } from '@nixjs23n6/ts-countdown-react'

export const CountdownPreview = () => (<Countdown target={1679998574} options={{ day: 'days', hour: 'hrs', minute: 'mins', second: 'secs' }}/>)