1.0.17 • Published 7 months ago

next-circle-flags v1.0.17

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

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. :rocket:

Docs && Gallery

Click here!

License

MIT © sinapirani

1.0.17

7 months ago

1.0.16

7 months ago

1.0.15

7 months ago

1.0.14

9 months ago

1.0.13

9 months ago

1.0.12

9 months ago

1.0.11

9 months ago

1.0.10

9 months ago

1.0.9

9 months ago

1.0.8

9 months ago

1.0.7

9 months ago

1.0.6

9 months ago

1.0.5

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago

0.0.18

9 months ago