@hixme-ui/benefit-price

hixme-ui Benefit Price component

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@hixme-ui/benefit-price
Minified + gzip package size for @hixme-ui/benefit-price in KB

Readme

Benefit Price

Installation

npm i --save @hixme-ui/benefit-price

View it live

Usage

import BenefitPrice from '@hixme-ui/benefit-price'

<BenefitPrice payCycle={12} value={100} />
<BenefitPrice payCycle={52} value={46.93} />
<BenefitPrice value={-46.93} noLabel />

Props

Name Type Default
value string N/A
noLabel bool false
payCycle number 12

Valid payCycle values

Pay Cycle Label Value
12 monthly
24 semi-monthly
26 bi-weekly
52 weekly

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.