@arolariu/components
Version:
🎨 70+ beautiful, accessible React components built on Base UI. TypeScript-first, CSS Modules styling, tree-shakeable, SSR-ready. Perfect for modern web apps, design systems & rapid prototyping. Zero config, maximum flexibility! ⚡
21 lines (20 loc) • 793 B
JavaScript
import { jsx } from "react/jsx-runtime";
import { cn } from "../../lib/utilities.js";
import kbd_module from "./kbd.module.js";
import * as __rspack_external_react from "react";
const Kbd = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx("kbd", {
ref: ref,
"data-slot": "kbd",
className: cn(kbd_module.kbd, className),
...props
}));
const KbdGroup = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx("kbd", {
ref: ref,
"data-slot": "kbd-group",
className: cn(kbd_module.group, className),
...props
}));
Kbd.displayName = "Kbd";
KbdGroup.displayName = "KbdGroup";
export { Kbd, KbdGroup };
//# sourceMappingURL=kbd.js.map