Socket
Socket
Sign inDemoInstall

lyef-flags

Package Overview
Dependencies
21
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    lyef-flags

A react component to show flags of all countries.


Version published
Weekly downloads
4
decreased by-33.33%
Maintainers
1
Install size
5.21 MB
Created
Weekly downloads
 

Readme

Source

Lyef flags

Build Status Badge size Badge gzip size NPM version

A react component to show flags of all countries based on Flagpedia.

Flags from some countries

Demo

Live examples

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';

...
render() {
    return (
        <Flag country="br" size="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.

License

MIT License @ lyef

Keywords

FAQs

Last updated on 22 Aug 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc