Currency component

The Currency component can be used when you need to format any number in to the user's currency, based on the selected channel.

Usage

Copy
Copied
<Currency value={500} />

Optional props

Currency

currency: { code: string; culture: string }

By default, the Currency component will use the currency of the currently-selected channel. To override the displayed currency, you can pass in a currency prop, which must be an object containing the currency code and culture.

Copyright © Norce 2023. All right reserved.