react-native-country-flag-quality
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

react-native-country-flag-quality forked by DuduLourenco

This is a React-Native package to display every 254 Country flags with the ISO 3166-1 alpha-2 Standard and image uality select!

NPM

Install

npm install --save react-native-country-flag-quality
or
yarn add react-native-country-flag-quality

Usage

This is a simple example how you can use the CountryFlag component.

import CountryFlag from "react-native-country-flag-quality";

<CountryFlag isoCode="de" size={25} quality={"low"} />

You can only use the ISO 3166-1 alpha-2 Standard for the isoCode property.

Props

Prop Type Desciption
isoCode String Define the country flag with the ISO 3166-1 alpha-2 Standard.
size Integer Define the size from the country flag.
style Stylesheet Customize the style from the CountryFlag component.
quality string Define the image quality from the country flag.

License

MIT © Yannis Hofmann

MIT © Eduardo Lourenco da Silva

/react-native-country-flag-quality/

    Package Sidebar

    Install

    npm i react-native-country-flag-quality

    Weekly Downloads

    45

    Version

    1.1.3

    License

    ISC

    Unpacked Size

    2.31 MB

    Total Files

    524

    Last publish

    Collaborators

    • dudu-lourenco