Price

Deprecated

Source Code: pwa-studio/packages/peregrine/lib/Price/price.js

Example

import Price from '@peregrine/Price';
import cssModule from './my-pricing-styles';

<Price value={100.99} currencyCode="USD" classes={cssModule} />;
/*
    <span className="curr">$</span>
    <span className="int">88</span>
    <span className="dec">.</span>
    <span className="fract">81</span>
*/