b-flag

0.0.4 • Public • Published

b-flag

Simple vue wrapper for the original flag-icon-css created by lipis.

Project setup

yarn add b-flag -D or npm i b-flag --save-dev

Usage example

import bflag from 'b-flag/src/components/b-flag.vue'

Props

name : country | default: in | type: string

Name Definiton Values Type Default
country Country code of the corresponding flag to be shown Any country codes String 'in'

eg : For greece

<bflag country='gr'/>

Country codes and flags can be browsed from here flag-icon-css.lip.is.

By default 'in' ( India ) flag is shown if no props are passed.

Readme

Keywords

none

Package Sidebar

Install

npm i b-flag

Weekly Downloads

3

Version

0.0.4

License

none

Unpacked Size

11 kB

Total Files

14

Last publish

Collaborators

  • vishnuchandran