1.4.0 • Published 5 months ago

react-currency-converter-any v1.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

React Currency Converter

A simple and lightweight React component for currency conversion.

Installation

npm install react-currency-converter-any
# or
yarn add react-currency-converter-any

Usage

import CurrencyConverter from "react-currency-converter-any";

function App() {
  return <CurrencyConverter amount="100" fromCurrency="USD" toCurrency="EUR" />;
}

Props

PropTypeDescription
amountstring | numberThe amount to convert
fromCurrencystringSource currency code (e.g., "USD")
toCurrencystringTarget currency code (e.g., "EUR")
apiKeystring(Optional) API key for exchange rate service

Supported Currencies

Includes symbols for 40+ currencies including USD, EUR, GBP, JPY, CNY, INR, and many more.

##contact

Email: ashishpundir1997@gmail.com

License

MIT

1.4.0

5 months ago

1.3.0

5 months ago

1.2.0

6 months ago

1.1.0

6 months ago

1.0.0

6 months ago