0.0.4 • Published 6 years ago

b-flag v0.0.4

Weekly downloads
12
License
-
Repository
-
Last release
6 years ago

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

NameDefinitonValuesTypeDefault
countryCountry code of the corresponding flag to be shownAny country codesString'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.

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago