@hixme-ui/price
v2.2.0
Published
hixme-ui Price component
Downloads
76
Readme
Price
Installation
npm i --save @hixme-ui/price
Usage
import Price from '@hixme-ui/price'
<Price value={46.93} />
<Price value={-46.93} />
<Price value={1803.93} includeCommas />
<Price primary value={46.93} label='Hixme UI' />
Props
| Name | Type | Default | | --------------- | ----------- | -------------- | | value | string | N/A | | label | string | N/A | | includeCommas | boolean | false |
Additionally, the Price component will take any color boolean from the theme.