'use strict';
import { jsx } from 'react/jsx-runtime';
import { cn } from '../../../fd-toolbox/lib/utils.js';

var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", {
  value,
  configurable: true
});
function Badge({
  children,
  onClick,
  className
}) {
  return /* @__PURE__ */jsx("span", {
    onClick,
    className: cn("inline-flex cursor-default items-center rounded-full px-2 py-1 text-xs font-medium select-none", className),
    children
  });
}
__name(Badge, "Badge");

export { Badge };
