N:B : This package utilizes TailwindCSS for styling, please ensure tailwind is already installed in your project before installing this package.
This package can be installed using npm
npm install @clefayomide/ui-currency-converter
or, yarn
yarn add @clefayomide/ui-currency-converter
### Usage
Edit content array in `tailwind.config.js` to target path
```javascript
content: [
'./node_modules/@clefayomide/ui-currency-converter/**/*.{js,jsx,ts,tsx}'
[comment]: <> (...other paths according to tailwind configuration)
]
```
Import `Converter` and `AppState`.
```javascript
import { Converter, AppState } from "@clefayomide/ui-currency-converter";
```
Wrapping things up
```javascript
<AppState>
<Converter />
</AppState>
```
## Disclaimer
This package utilized [Fawaz Ahmed](https://github.com/fawazahmed0/currency-api#readme) currency converter API and [Rest Countries](https://restcountries.com/v3.1/all) API, respectively.
## Issues
If any issues are found, they can be reported [here](https://github.com/clefayomide/ui-currency-converter-library/issues).
## License
This project is licensed under the [MIT](LICENSE) license.