'use strict';

var button = require('@base-ui/react/button');
var classNames = require('classnames');
var React = require('react');

function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }

var classNames__default = /*#__PURE__*/_interopDefault(classNames);
var React__default = /*#__PURE__*/_interopDefault(React);

// src/base-components/action-button/ActionButton.tsx

// src/base-components/action-button/ActionButton.module.css
var ActionButton_default = {};

// src/base-components/action-button/ActionButton.tsx
function _extends() {
  return _extends = Object.assign ? Object.assign.bind() : function(n) {
    for (var e = 1; e < arguments.length; e++) {
      var t = arguments[e];
      for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
    }
    return n;
  }, _extends.apply(null, arguments);
}
var ActionButton = /* @__PURE__ */ React__default.default.memo(/* @__PURE__ */ React__default.default.forwardRef(function ActionButton2({
  variant = "secondary",
  appearance = "default",
  className,
  ...rest
}, ref) {
  return /* @__PURE__ */ React__default.default.createElement(button.Button, _extends({
    ref,
    className: classNames__default.default(ActionButton_default.button, variant === "primary" ? ActionButton_default.primaryButton : ActionButton_default.secondaryButton, appearance === "minimal" && ActionButton_default.minimalButton, className)
  }, rest));
}));

exports.ActionButton = ActionButton;
//# sourceMappingURL=chunk-QP2LHBCZ.cjs.map
//# sourceMappingURL=chunk-QP2LHBCZ.cjs.map