"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = exports.Warn = exports.Success = exports.Info = exports.Default = exports.Alert = void 0;

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

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

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 = {
  title: 'Components/Badge',
  component: _Badge.default,
  argTypes: {
    size: {
      options: ['default', 'big'],
      control: {
        type: 'select'
      }
    },
    variation: {
      options: ['default', 'info', 'success', 'warn', 'alert'],
      control: {
        type: 'select'
      }
    }
  }
};
exports.default = _default;

var Template = function Template(args) {
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_Badge.default, args, "1"), /*#__PURE__*/_react.default.createElement(_Badge.default, args, "Badge"), /*#__PURE__*/_react.default.createElement(_Badge.default, _extends({}, args, {
    size: "big"
  }), "Badge with size 'big'")));
};

var Default = Template.bind({});
exports.Default = Default;
var Alert = Template.bind({});
exports.Alert = Alert;
Alert.args = {
  variation: 'alert'
};
var Warn = Template.bind({});
exports.Warn = Warn;
Warn.args = {
  variation: 'warn'
};
var Success = Template.bind({});
exports.Success = Success;
Success.args = {
  variation: 'success'
};
var Info = Template.bind({});
exports.Info = Info;
Info.args = {
  variation: 'info'
};