UNPKG

@radix-ui/themes

Version:

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

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