UNPKG

@radix-ui/themes

Version:

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

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