react-country-flags
v2.2.3
Published
Flags of the world as react components.
Downloads
2,086
Maintainers
Readme
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.