@nixjs23n6/ts-countdown-react
v1.0.0
Published
A customizable countdown component for React.
Downloads
1
Maintainers
Readme
@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' }}/>)