1.2.5 • Published 1 year ago

react-native-country-flag-icon v1.2.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

react-native-country-flag-icon

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

Credit to the original author of this package, I just forked to make them smaller: https://github.com/YannisHofmann/react-native-country-flag

NPM

Install

npm install --save react-native-country-flag-icon

Usage

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

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

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

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

Props

PropTypeDesciption
isoCodeStringDefine the country flag with the ISO 3166-1 alpha-2 Standard.
sizeIntegerDefine the size from the country flag.
styleStylesheetCustomize the style from the CountryFlag component.

License

MIT © David Brookes

1.2.5

1 year ago

1.2.4

1 year ago

1.2.3

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago