Lyef flags
A react component to show flags of all countries based on Flagpedia.
Demo
Installation
$ npm install --save lyef-flags
Remember to import the styles on css/main.css
folder to your project.
Basic Usage
import Flag from 'lyef-flags'; ... { return <Flag ="br" ="small" /> ;}...
Props
country
(string) - country innitials. Ex.: us, br...size
(string) - image size - options: small, normal, big, ultra.
Architecture
We've developed this component using the following boilerplate: lyef-react-component.
To know more about the architecture or if you want to contribute with this component: Contributing Documentation.