0.0.2 • Published 5 months ago

react-stylish-counter v0.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

React Stylish Counter

The library offers UI components to make the numbers on your website look beautiful.

Install

npm i react-stylish-counter

or

yarn add react-stylish-counter

Usage

import { DigitalCounter } from "react-stylish-counter";

This is a digital counter. It takes max (number) and duration (seconds) e.g. duration={2} as required props. You can also pass a style prop e.g. style={{ fontSize: "20px" }}. You can apply styling as you like.

import { AnalogCounter } from "react-stylish-counter";

This is an counter that provides animation while counting up the numbers. It takes max (number) as required prop and style as an optional prop.