"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.AsLink = exports.Disabled = exports.Default = exports["default"] = void 0;

var _react = _interopRequireDefault(require("react"));

var _addonActions = require("@storybook/addon-actions");

var _tertiaryButton = require("./tertiary-button.component");

var _tertiaryButton2 = _interopRequireDefault(require("./tertiary-button.mdx"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

var _default = {
  component: _tertiaryButton.TertiaryButton,
  title: 'Buttons/Tertiary',
  parameters: {
    fileName: __filename,
    docs: {
      page: _tertiaryButton2["default"]
    }
  }
};
exports["default"] = _default;
var DEFAULT_PROPS_CLICK = {
  onClick: (0, _addonActions.action)('clicked')
};
var DEFAULT_PROPS_HREF = {
  href: 'https://google.com'
};

var Default = function Default() {
  return /*#__PURE__*/_react["default"].createElement(_tertiaryButton.TertiaryButton, DEFAULT_PROPS_CLICK, "Button Action");
};

exports.Default = Default;

var Disabled = function Disabled() {
  return /*#__PURE__*/_react["default"].createElement(_tertiaryButton.TertiaryButton, _extends({}, DEFAULT_PROPS_CLICK, {
    disabled: true
  }), "Button Action");
};

exports.Disabled = Disabled;

var AsLink = function AsLink() {
  return /*#__PURE__*/_react["default"].createElement(_tertiaryButton.TertiaryButton, DEFAULT_PROPS_HREF, "Button Link");
};

exports.AsLink = AsLink;