next-circle-flags
TypeScript icon, indicating that this package has built-in type declarations

1.0.17 • Public • Published

next-circle-flags(Powered By next/image) for Next13!

CDN IS CHANGED!

UPDATE THIS PACKAGE TO LATEST VERSION !

Next circle flags (based on circle-flags)

NPM JavaScript Style Guide codecov Node.js CI

Install

npm install --save next-circle-flags

Usage

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

export const SpanishFlag = () => <CircleFlag countryCode="es"  height={50} width={50}  />

With custom CDN

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

export const SpanishFlag = () => <CircleFlag countryCode="es"  height={50} width={50}  cdnUrl="https://magic-cdn.com/flags/" />

You can pass all the next/image props to CircleFlag. 🚀

Docs && Gallery

Click here!

License

MIT © sinapirani

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.173latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.173
1.0.160
1.0.150
1.0.140
1.0.130
1.0.120
1.0.110
1.0.100
1.0.90
1.0.80
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00
0.0.180

Package Sidebar

Install

npm i next-circle-flags

Weekly Downloads

3

Version

1.0.17

License

MIT

Unpacked Size

12.8 kB

Total Files

6

Last publish

Collaborators

  • sinapiranix