react-currency-converter-widget
v0.2.0
Published
This npm package is a UI component for currency conversion in React using TypeScript. It is built with Material-UI, ensuring high compatibility with applications that also use Material-UI.
Downloads
27
Maintainers
Readme
react-currency-converter-widget
Currency Converter React widget for https://github.com/minnya/react-currency-converter-widget.git
Install
yarn add -D react-currency-converter-widget
or
npm install --save-dev react-currency-converter-widget
Usage
import React from 'react';
import CurrencyConverter from 'react-currency-converter-widget';
render() {
return (
<div>
<CurrencyConverter />
</div>
);
}
Props
defaultFromCurrency: [ string ]
default From Currency (ex: USD
)
defaultToCurrency: [ string ]
default To Currency (ex: JPY
)