
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
react-native-country-flag
Advanced tools
This is a React-Native package to display every 254 Country flags with the ISO 3166-1 alpha-2 Standard!
This is a react-native package to display every 254 country flag with the ISO 3166-1 alpha-2 Standard!
npm install --save react-native-country-flag
Data required for the countryflag component to work has been completely decoupled from the library. That gives developers the flexibility to better control their app bundle size and let them choose how and when this data is loaded. Data can be:
import CountryFlag from "react-native-country-flag";
<CountryFlag isoCode="de" size={25} />
🚧 Note: Still in progress (probely available in v2.1)
npm install --save react-native-country-flag/data
import CountryFlag from "react-native-country-flag";
import flags from "react-native-country-flag/data";
<CountryFlag isoCode="de" size={25} flags={flags} />
import CountryFlag from "react-native-country-flag";
<CountryFlag isoCode="de" size={25} />
You can only use the ISO 3166-1 alpha-2 Standard for the isoCode property.
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. |
flags | Optional: pass bundeled flags CountryFlag component. |
MIT © Yannis Hofmann
FAQs
This is a React-Native package to display every 254 Country flags with the ISO 3166-1 alpha-2 Standard!
The npm package react-native-country-flag receives a total of 11,850 weekly downloads. As such, react-native-country-flag popularity was classified as popular.
We found that react-native-country-flag demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.