cyber-country-flag
v0.0.4
Published
Icons countries flags in *.svg
Downloads
3
Readme
react-country-flag
React component for emoji/svg country flags.
Install
npm install --save react-country-flag
Usage
import React, { Component } from "react";
import ReactCountryFlag from "react-country-flag";
class Example extends Component {
render() {
return (
<div>
<ReactCountryFlag code="us" />
<ReactCountryFlag code="us" svg />
<ReactCountryFlag
styleProps={{
width: '20px',
height: '20px'
}}
code="us"
svg
/>
</div>
);
}
}
License
MIT © danalloway