import * as React from "react";
import y from "../../../../../../../../../_virtual/index12.js";
import { extractProps as v } from "../helpers/extract-props.js";
import { marginPropDefs as r } from "../props/margin.props.js";
import { textPropDefs as n } from "./text.props.js";
import { Root as Slot } from "../../../../../../../@radix-ui_react-slot@1.2.3_@types_react@19.1.13_react@19.1.1/node_modules/@radix-ui/react-slot/dist/index.js";
const p = React.forwardRef((t, r$1) => {
  const { children: e, className: s, asChild: m, as: a = "span", color: n$1, ...P } = v(t, n, r);
  return React.createElement(Slot, { "data-accent-color": n$1, ...P, ref: r$1, className: y("rt-Text", s) }, m ? e : React.createElement(a, null, e));
});
p.displayName = "Text";
export {
  p as Text
};
//# sourceMappingURL=text.js.map
