function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
import React from 'react';
import Link from './link.js';
export let LinkVariant;
(function (LinkVariant) {
  LinkVariant["Primary"] = "primary";
  LinkVariant["Danger"] = "danger";
  LinkVariant["Success"] = "success";
  LinkVariant["Info"] = "info";
  LinkVariant["Secondary"] = "secondary";
})(LinkVariant || (LinkVariant = {}));
export let LinkSize;
(function (LinkSize) {
  LinkSize["Sm"] = "sm";
  LinkSize["Lg"] = "lg";
})(LinkSize || (LinkSize = {}));
export const Default = props => /*#__PURE__*/React.createElement(Link, _extends({}, props, {
  href: "/"
}), "just a link");
export default {
  title: 'DesignSystem/Atoms/Link',
  argTypes: {
    uppercase: {
      defaultValue: false,
      control: {
        type: 'boolean'
      }
    },
    variant: {
      defaultValue: LinkVariant.Primary,
      options: Object.values(LinkVariant),
      control: {
        type: 'select'
      }
    },
    size: {
      defaultValue: LinkSize.Sm,
      options: Object.values(LinkSize),
      control: {
        type: 'select'
      }
    }
  }
};