import { jsx as m } from "react/jsx-runtime";
import { $ as a } from "./utils-CrjF8U_E.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 i } from "react";
import { $ as n } from "./useObjectRef-CaJ5pgjX.es.js";
const { withContext: c } = /* @__PURE__ */ $({ key: "nimbusKbd" }), b = /* @__PURE__ */ c("kbd"), g = ({ ref: t, slot: e, ...r }) => {
  const f = i(null), o = n(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-My9zh63h.es.js.map
