import { jsx as i } from "react/jsx-runtime";
import { Button as s, ButtonTypes as p } from "./index-Button.js";
import { IconNames as c } from "./index-IconNames.js";
import { FontWeights as l, TextTypes as a } from "./index-Text.js";
import "react";
import m from "./index-ActionButton.module.scss.js";
const g = (o) => {
  const {
    testId: e,
    disabled: t,
    icon: r,
    ...n
  } = o;
  return i(s, {
    testId: `${e}_Button`,
    className: m.cta,
    iconLeft: r ?? c.add,
    iconLargeOnHover: !0,
    iconColor: t ? "--n300" : "--p400",
    iconFillColor: "--p100",
    iconHasCircle: !0,
    type: p.default,
    textType: a.text,
    fontWeight: l.regular,
    textWrap: "no-wrap",
    hoverColor: "--p400",
    color: "--n700",
    onClick: () => {
    },
    disabled: t,
    ...n
  });
};
export {
  g as ActionButton
};
