import * as r from "react";
import l from "../../../../../../../../../_virtual/index9.js";
import { Slot as n } from "../../../../../../../@radix-ui_react-slot@1.1.0_@types_react@18.3.3_react@18.3.0-canary-3d9b20132-20240124/node_modules/@radix-ui/react-slot/dist/index.js";
import { extractProps as f } from "../helpers/extract-props.js";
import { marginPropDefs as i } from "../props/margin.props.js";
import { textPropDefs as x } from "./text.props.js";
const d = r.forwardRef((t, a) => {
  const { children: e, className: o, asChild: m, as: s = "span", color: c, ...p } = f(t, x, i);
  return r.createElement(n, { "data-accent-color": c, ...p, ref: a, className: l("rt-Text", o) }, m ? e : r.createElement(s, null, e));
});
d.displayName = "Text";
export {
  d as Text
};
//# sourceMappingURL=text.js.map
