import React from 'react';
import Counter from './Counter';
export default {
  component: Counter,
  title: 'Counter'
};

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

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