import { jsx as a } from "react/jsx-runtime";
import { useRef as c } from "react";
import { createRecipeContext as m, mergeRefs as p } from "@chakra-ui/react";
import { b as d } from "./badge.recipe-DsV4A_UD.es.js";
import { $ as i } from "./useObjectRef-CaJ5pgjX.es.js";
import { $ as n } from "./mergeProps-Dsl8k3Ig.es.js";
const { withContext: $ } = /* @__PURE__ */ m({ recipe: d }), R = /* @__PURE__ */ $(
  "span"
), b = (e) => {
  const { ref: o, children: r, ...t } = e, f = c(null), s = i(p(f, o));
  return /* @__PURE__ */ a(R, { ...n(t, { ref: s }), children: r });
};
b.displayName = "Badge";
export {
  b as B
};
//# sourceMappingURL=badge-CgYpum7D.es.js.map
