import * as React from "react";
import y from "../../../../../../../../../_virtual/index12.js";
import { headingPropDefs as n } from "./heading.props.js";
import { extractProps as v } from "../helpers/extract-props.js";
import { marginPropDefs as r$1 } from "../props/margin.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 r = React.forwardRef((p, t) => {
  const { children: e, className: s, asChild: a, as: n$1 = "h1", color: i, ...m } = v(p, n, r$1);
  return React.createElement(Slot, { "data-accent-color": i, ...m, ref: t, className: y("rt-Heading", s) }, a ? e : React.createElement(n$1, null, e));
});
r.displayName = "Heading";
export {
  r as Heading
};
//# sourceMappingURL=heading.js.map
