1.0.6 • Published 2 years ago
react-country-icon v1.0.6
react-country-icon
Component to render svg country flag
Install
npm i -D react-country-icon
Usage
import { CountryIcon } from 'react-country-icon';
const ExampleComponent = () => (
<div>Hello <CountryIcon countryCode="CH"/> </div>
)
Example
See here the example https://lq4o1k.csb.app/