# @islacel/react-native-country-flag

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

Latest version **1.1.9** (published 2022-05-02) · ISC license · 0 weekly downloads

## Install

```sh
npm install @islacel/react-native-country-flag
pnpm add @islacel/react-native-country-flag
yarn add @islacel/react-native-country-flag
bun add @islacel/react-native-country-flag
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; large bundle.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.9 |
| Published | 2022-05-02 |
| First published | 2022-05-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 10.2 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Yannis Hofmann |
| Maintainers | vmherrera1991, rigotra1984 |
| Keywords | React-Native, Country, Flags, Flag, ISO, icon |

## Links

- npm: https://www.npmjs.com/package/@islacel/react-native-country-flag
- Repository: https://github.com/vherrera1991/react-native-country-flag
- Homepage: https://github.com/YannisHofmann/react-native-country-flag.git
- Issues: https://github.com/vherrera1991/react-native-country-flag/issues
- npm.io page: https://npm.io/package/@islacel/react-native-country-flag

## Alternatives

- [@fortawesome/react-fontawesome](https://npm.io/package/@fortawesome/react-fontawesome.md) — 2.2M weekly downloads
- [roboto-fontface](https://npm.io/package/roboto-fontface.md) — 196.0K weekly downloads
- [@react-native-vector-icons/common](https://npm.io/package/@react-native-vector-icons/common.md) — 150.4K weekly downloads
- [stockfish](https://npm.io/package/stockfish.md) — 27.0K weekly downloads
- [@procore/core-icons](https://npm.io/package/@procore/core-icons.md) — 4.6K weekly downloads

## Recent versions

- 1.1.9 (latest) — 2022-05-02
- 1.1.8 — 2022-05-02

## README

# react-native-country-flag

This is a React-Native package to display every 254 Country flags with the [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) Standard!

[![NPM](https://img.shields.io/npm/v/react-native-country-flag.svg)](https://www.npmjs.com/package/react-native-country-flag)

## Install

```bash
npm install --save react-native-country-flag
```

## Usage

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

```jsx
import CountryFlag from "react-native-country-flag";

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

You can only use the [ISO 3166-1 alpha-2 Standard](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) for the isoCode property.

## Props

| Prop    |       Type        |                                                    Desciption                                                    |
| ------- | :---------------: | :--------------------------------------------------------------------------------------------------------------: |
| isoCode |      String       | Define the country flag with the [ISO 3166-1 alpha-2 Standard](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). |
| size    |      Integer      |Define the size from the country flag.                                            |
| style   |    Stylesheet     |Customize the style from the `CountryFlag` component.                             |                              

## License

MIT © [Yannis Hofmann](https://github.com/YannisHofmann)

---
_Source: https://npm.io/package/@islacel/react-native-country-flag · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
