import { Fragment } from 'react'
import { defaultProps } from './defaultProps'
import type { BadgeProps } from './badge-types'
import Image from 'next/image'
const Anchor = ({
children,
style: aStyle,
className,
href,
label,
}: {
href?: string
label?: string
style: any
children: any
className?: string
}) => {
return (
{children}
)
}
export const Badge = ({
style,
inline,
size: badgeSize,
src,
href,
label,
title,
}: BadgeProps) => {
const size = badgeSize === 'small' ? 22 : 32
if (inline) {
return (
{title}
)
}
return (
)
}
Badge.defaultProps = defaultProps