Skip to content

React price ticker component, auto increment price every 200ms

License

Notifications You must be signed in to change notification settings

nib-health-funds/react-price-ticker

Repository files navigation

react-price-ticker

Simple price ticker that shows a price increasing client side every 200ms An example can be found here https://www.nib.com.au/health-insurance/itsworthit

Installation

npm install --save @nib/react-price-ticker

Usage

import PriceTicker from './PriceTicker';

<PriceTicker incrementPrice={incrementPrice} currencySymbol="$"/>

#Props

incrementPrice:

Price that you want to increment by every second.

currencySymbol:

Defaults to the $ dollar sign.

Change log

0.1.0

  • Pushed: first version

About

React price ticker component, auto increment price every 200ms

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published