0.0.11 • Published 7 years ago

react-svg-flag v0.0.11

Weekly downloads
28
License
ISC
Repository
github
Last release
7 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

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago