UNPKG

@radix-ui/themes

Version:

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

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