Next circle flags (based on circle-flags)
npm install --save next-circle-flags
import React from 'react'
import { CircleFlag } from 'next-circle-flags'
export const SpanishFlag = () => <CircleFlag countryCode="es" height={50} width={50} />
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. 🚀
Click here!
MIT © sinapirani