@bilmapay/react-currency-symbols
v1.0.1
Published
React currency symbol, this library works both on react js and react native projects
Downloads
2
Maintainers
Readme
React Currency Symbols
This package is an export of all world collection of currncy symbols, you can use this symbols on either react js or react native projects.
To get you started run:
npm install @bilmapay/react-currency-symbols
For yarn lovers
yarn add @bilmapay/react-currency-symbols
Documentation
There is nothing much to document for example if you want to import and use a currency you can do so by import it into your project:
import { NAIRA_SIGN } from "@bilmapay/react-currency-symbols"
// and then display the currency to your user
export default function App() {
return <span className="currency">{NAIRA_SIGN}</span>
}
// For react Native projects
export default function App() {
return <Text style={styles.currency}>{NAIRA_SIGN}</Text>
}