@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
18 lines (14 loc) • 545 B
JavaScript
"use client";
import { createComponent } from "../../core/components/create-component.js";
import { kbdStyle } from "./kbd.style.js";
//#region src/components/kbd/kbd.tsx
const { PropsContext: KbdPropsContext, usePropsContext: useKbdPropsContext, withContext } = createComponent("kbd", kbdStyle);
/**
* `Kbd` is a component that represents keyboard input.
*
* @see https://yamada-ui.com/docs/components/kbd
*/
const Kbd = withContext("kbd")();
//#endregion
export { Kbd, KbdPropsContext, useKbdPropsContext };
//# sourceMappingURL=kbd.js.map