import type { IconProps } from "@chopin/icons"; import type { ComponentProps, ComponentType } from "react"; import { IconLabel } from "./icon-label"; import { semanticClasses } from "./semantic-tone"; import type { SemanticTone } from "./semantic-tone"; export type BadgeProps = Omit, "children"> & { icon: ComponentType; label: string; /** `sm` is a compact, borderless status label for dense chrome such as headers. */ size?: "md" | "sm"; /** Dense chrome can reduce the label independently of its badge geometry. */ textSize?: "xs" | "2xs"; tone?: SemanticTone; }; export function Badge( { className, icon, label, size = "md", textSize, tone = "neutral", ...props }: BadgeProps, ) { return ( ); }