1.0.0 • Published 4 years ago

@pedroruiz/flag v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Flag.js

Flag js is a class for build to run in React to get countries flag with a simple sintax and effective renter time.

##Dependencies It has only three dependencies:

  • React (obviously)
  • prop-types
  • flag-icon-css

##Use Simply do \ when string is the code of the flag you want. As I use 'bg' as 'en' this translate every 'en' in 'gb' flag. You can delete this if not runs well for you.