"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.PremiumButton = PremiumButton;
var _react = require("@wix/bex-core/react");
var _designSystem = require("@wix/design-system");
var _react2 = _interopRequireDefault(require("react"));
var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/cairo/dist/cjs/components/EmptyState/PremiumButton.tsx";
function PremiumButton(props) {
  const state = (0, _react.useCollectionContext)();
  const {
    translate: t
  } = state;
  const {
    text,
    onClick
  } = props;
  return /*#__PURE__*/_react2.default.createElement(_designSystem.Button, {
    skin: "premium",
    onClick: onClick,
    dataHook: "empty-state-premium-button",
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 15,
      columnNumber: 5
    }
  }, text ?? t('cairo.emptyState.premium.cta'));
}
//# sourceMappingURL=PremiumButton.js.map