"use client";
import * as m from "react";
import { Primitive as p } from "../../react-primitive/dist/index.js";
import { jsx as o } from "react/jsx-runtime";
var v = "Arrow", e = m.forwardRef((r, i) => {
  const { children: t, width: a = 10, height: s = 5, ...n } = r;
  return /* @__PURE__ */ o(
    p.svg,
    {
      ...n,
      ref: i,
      width: a,
      height: s,
      viewBox: "0 0 30 10",
      preserveAspectRatio: "none",
      children: r.asChild ? t : /* @__PURE__ */ o("polygon", { points: "0,0 30,0 15,10" })
    }
  );
});
e.displayName = v;
var f = e;
export {
  e as Arrow,
  f as Root
};
