1.0.5 • Published 2 years ago

react-flag-symbol-currency v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

react-flag-symbol-currency

Country flag and currency symbol by currency code (iso 4217)

Installation

Use the npm package manager to install react-flag-symbol-currency.

npm i --save  react-flag-symbol-currency

Usage

import React from 'react';
import CurrencyFlag ,{CurrencySymbol, CurrencyFlagSymbol} from 'react-flag-symbol-currency'

function Home(props) {
 

    return (
        <div>
            <CurrencyFlag currency='USD' width='40px' /> //accept img properties 
            <CurrencySymbol currency='USD' />
            <CurrencyFlagSymbol currency='USD'/>
        </div>
    );
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

1.0.5

2 years ago

1.0.2

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago