"use strict";

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

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

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

var _Counter = _interopRequireDefault(require("./Counter"));

var _default = {
  component: _Counter.default,
  title: 'Counter'
};
exports.default = _default;

var Wrapper = function Wrapper(_ref) {
  var children = _ref.children;
  return /*#__PURE__*/_react.default.createElement("div", {
    style: {
      minHeight: '50px'
    }
  }, children);
};

var Main = function Main() {
  return /*#__PURE__*/_react.default.createElement("div", null, ['small', 'medium'].map(function (size) {
    return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {
      key: size
    }, /*#__PURE__*/_react.default.createElement(Wrapper, null, ['neutral', 'mint', 'aqua', 'violet', 'teal', 'gold', 'ruby'].map(function (color) {
      return /*#__PURE__*/_react.default.createElement(_Counter.default, {
        key: color,
        count: 12,
        maxCount: 20,
        color: color,
        size: size,
        marginRight: 1
      });
    })), /*#__PURE__*/_react.default.createElement(Wrapper, null, ['neutral', 'mint', 'aqua', 'violet', 'teal', 'gold', 'ruby'].map(function (color) {
      return /*#__PURE__*/_react.default.createElement(_Counter.default, {
        key: color,
        count: 12,
        maxCount: 10,
        color: color,
        size: size,
        marginRight: 1
      });
    })));
  }));
};

exports.Main = Main;