import { jsx } from 'react/jsx-runtime';
import * as React from 'react';
import { forwardRef } from 'react';
import { c as cn } from '../utils-BJnb9o5c.js';

const Kbd$1 = React.forwardRef(
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
    "kbd",
    {
      ref,
      "data-slot": "kbd",
      className: cn(
        "pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-sm bg-muted px-1 font-sans text-xs font-medium text-muted-foreground select-none in-data-[slot=tooltip-content]:bg-background/20 in-data-[slot=tooltip-content]:text-background dark:in-data-[slot=tooltip-content]:bg-background/10 [&_svg:not([class*='size-'])]:size-3",
        className
      ),
      ...props
    }
  )
);
Kbd$1.displayName = "Kbd";
const KbdGroup$1 = React.forwardRef(
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
    "kbd",
    {
      ref,
      "data-slot": "kbd-group",
      className: cn("inline-flex items-center gap-1", className),
      ...props
    }
  )
);
KbdGroup$1.displayName = "KbdGroup";

const Kbd = forwardRef(
  (props, ref) => /* @__PURE__ */ jsx(Kbd$1, { ref, ...props })
);
Kbd.displayName = "Kbd";
const KbdGroup = forwardRef((props, ref) => /* @__PURE__ */ jsx(KbdGroup$1, { ref, ...props }));
KbdGroup.displayName = "KbdGroup";

export { Kbd, KbdGroup };
//# sourceMappingURL=Kbd.js.map
