"use client"; import { memo } from "react"; import { cls } from "@/lib/utils"; interface BadgeProps { text: string; variant?: "primary" | "card"; className?: string; } const Badge = memo(({ text, variant = "primary", className = "", }: BadgeProps) => { return (

{text}

); }); Badge.displayName = "Badge"; export default Badge;