This package outputs two CSS files (minified and unminified) with classes for currency codes using base64 background images inlined.
How to use
npm install --save currency-flags
2. Add CSS to page
<div class="currency-flag currency-flag-usd"></div>
currency-flag selector has a default
inline-block, size of
24x16 and a
currency-flag-xl modifiers are available.
- Clone repo
- Add correctly sized (
- Bump version number in
package.jsonaccording to semver and add an item that a release will be based on to
npm installto ensure the correct version in the lockfile.
- Submit your pull request from a feature branch and get code reviewed.
- If the pull request is approved and the CircleCI build passes, you will be able to squash and merge.
- Code will automatically be released to GitHub and published to npm according to the version specified in the changelog and