import { jsxs as e, jsx as r } from "react/jsx-runtime";
import { getColor as s } from "./chartHelper.js";
const p = "areaGradient", l = (a) => {
  const { id: o = p, color: t = "color-coldplay-fountain" } = a;
  return /* @__PURE__ */ e("linearGradient", { id: o, x1: "0", y1: "0", x2: "0", y2: "1", children: [
    /* @__PURE__ */ r("stop", { offset: "5%", stopColor: s(t), stopOpacity: 0.8 }),
    /* @__PURE__ */ r("stop", { offset: "95%", stopColor: s(t), stopOpacity: 0 })
  ] }, o);
};
export {
  p as DEFAULT_ARIA_GRADIENT_ID,
  l as default
};
//# sourceMappingURL=AreaGradient.js.map
