UNPKG

@radix-ui/themes

Version:

[![Radix Themes Logo](https://radix-ui.com/social/themes.png)](https://radix-ui.com/themes)

3 lines (2 loc) 467 B
import*as o from"react";import d from"classnames";import{Slot as n}from"@radix-ui/react-slot";import{kbdPropDefs as f}from"./kbd.props.js";import{extractProps as i}from"../helpers/index.js";import{marginPropDefs as P}from"../props/index.js";const r=o.forwardRef((e,p)=>{const{asChild:t,className:s,...m}=i(e,f,P);return o.createElement(t?n:"kbd",{...m,ref:p,className:d("rt-reset","rt-Kbd",s)})});r.displayName="Kbd";export{r as Kbd}; //# sourceMappingURL=kbd.js.map