Files
mypage/components/blog/tag-badge.tsx
2025-11-19 13:25:36 +02:00

21 lines
405 B
TypeScript

interface TagBadgeProps {
count: number;
className?: string;
}
export function TagBadge({ count, className = '' }: TagBadgeProps) {
return (
<span
className={`
inline-flex items-center justify-center
px-2 py-1 font-mono text-xs font-bold
bg-cyan-900 border border-cyan-700
text-cyan-300
${className}
`}
>
{count}
</span>
);
}