Skip to content

🚀 A React component with a collection of 300+ minimal circular SVG country flags. Wrapper of HatScripts/circle-flags

License

Notifications You must be signed in to change notification settings

jissepo/react-circle-flags

 
 

Repository files navigation

react-circle-flags

React circle flags (based on circle-flags)

NPM JavaScript Style Guide codecov Node.js CI

Install

npm install --save react-circle-flags

Usage

import React from 'react'
import { CircleFlag } from 'react-circle-flags'

export const SpanishFlag = () => <CircleFlag countryCode="es" height="35" />

You can pass all the react's React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement> props to CircleFlag. 🚀

Docs && Gallery

Click here!

License

MIT © tnovau

About

🚀 A React component with a collection of 300+ minimal circular SVG country flags. Wrapper of HatScripts/circle-flags

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%