"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.withIcon = exports.withCustomElement = exports.default = exports.basic = void 0;

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

var _utils = require("../../../.storybook/utils");

var _uiIcons = require("@teamleader/ui-icons");

var _Badge = _interopRequireDefault(require("./Badge"));

var _default = {
  component: _Badge.default,
  title: (0, _utils.addStoryInGroup)(_utils.LOW_LEVEL_BLOCKS, 'Badge'),
  parameters: {
    design: {
      type: 'figma',
      url: 'https://www.figma.com/file/LHH25GN90ljQaBEUNMsdJn/Desktop-components?node-id=3943%3A715'
    }
  }
};
exports.default = _default;

var basic = function basic(args) {
  return /*#__PURE__*/_react.default.createElement(_Badge.default, args, "I'm a badge");
};

exports.basic = basic;

var withIcon = function withIcon(args) {
  return /*#__PURE__*/_react.default.createElement(_Badge.default, args, "I'm a badge");
};

exports.withIcon = withIcon;
withIcon.args = {
  icon: /*#__PURE__*/_react.default.createElement(_uiIcons.IconBuildingSmallOutline, null)
};
withIcon.storyName = 'With icon';

var withCustomElement = function withCustomElement(args) {
  return /*#__PURE__*/_react.default.createElement(_Badge.default, args, "I'm a badge");
};

exports.withCustomElement = withCustomElement;
withCustomElement.args = {
  element: 'a',
  href: 'https://teamleader.eu'
};
withCustomElement.storyName = 'With custom element';