import { jsx } from "react/jsx-runtime";
import { SpinnerIcon } from "@phosphor-icons/react/dist/ssr";
import { forwardRef } from "react";
import { ExperimentalIcon } from "../experimental/Icon.js";
const Spinner = forwardRef(
  ({ variant = "regular", ...props }, forwardedRef) => {
    return /* @__PURE__ */ jsx(ExperimentalIcon, { ref: forwardedRef, "data-name": "Spinner", ...props, children: /* @__PURE__ */ jsx(SpinnerIcon, { weight: variant }) });
  }
);
Spinner.displayName = "Spinner";
Object.assign(Spinner, { isGdsIcon: true });
export {
  Spinner
};
