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
Edit content array in tailwind.config.js
to target path
content: [
'./node_modules/@clefayomide/ui-currency-converter/**/*.{js,jsx,ts,tsx}'
// ...other paths according to tailwind configuration
]
Import Converter
and AppState
.
import { Converter, AppState } from "@clefayomide/ui-currency-converter";
Wrapping things up
<AppState>
<Converter />
</AppState>
This package utilized Fawaz Ahmed currency converter API and Rest Countries API, respectively.
If any issues are found, they can be reported here.
This project is licensed under the MIT license.