0.0.11 • Published 5 years ago

react-svg-flag v0.0.11

Weekly downloads
28
License
ISC
Repository
github
Last release
5 years ago

React SVG Flag

A simple component implementing flag-icon-css as a React Component by utilizing it's resources

Useage

Import with:

import Flag from 'react-svg-flag';

Properties:

code: lower case 2 digit country code
height: height in pixels
width: width in pixels
radius: border radius in pixels
squared: boolean on whether or not to square icon

Storybook

Start storybook with:

$ npm run storybook

All props are available as knobs.

Contribute

Really please if sending a pull request don't import unnecessary modules, keep a consistent file structure, and include your changes in storybook.

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago