react-country-flags
TypeScript icon, indicating that this package has built-in type declarations

2.2.3 • Public • Published

react-country-flags

You need flags in your react-project and you don't want to load all flags of the world instant in your application?

<Flag country="de" asSquare={true} />

All flags are svg transpile to react components and they load async in your project.

api

country

Use a two-letter country-code as specific in ISO 3166-1.

asSquare

The flag is centered in a square area.

Package Sidebar

Install

npm i react-country-flags

Weekly Downloads

331

Version

2.2.3

License

MIT

Unpacked Size

18.1 MB

Total Files

1529

Last publish

Collaborators

  • schubidu