import { jsx as m } from "react/jsx-runtime";
import { $ as a } from "./utils-B6pV5ewr.es.js";
import { $ as p } from "./Keyboard-Clnp4zAC.es.js";
import { createRecipeContext as $, mergeRefs as d } from "@chakra-ui/react";
import "@chakra-ui/react/kbd";
import { useRef as c } from "react";
import { $ as i } from "./useObjectRef-CaJ5pgjX.es.js";
const { withContext: n } = /* @__PURE__ */ $({ key: "kbd" }), b = /* @__PURE__ */ n("kbd"), g = ({ ref: t, slot: e, ...r }) => {
  const f = c(null), o = i(d(f, t)), [s] = a(r, o, p);
  return /* @__PURE__ */ m(b, { ref: o, slot: e || void 0, ...s });
};
export {
  g as K
};
//# sourceMappingURL=kbd-Bl5Ncm2d.es.js.map
