0.1.0 • Published 7 years ago

@nib/react-price-ticker v0.1.0

Weekly downloads
-
License
-
Repository
github
Last release
7 years ago

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
0.1.0

7 years ago