"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 _ButtonGroup = _interopRequireDefault(require("./ButtonGroup"));

var _button = _interopRequireDefault(require("../button"));

var _default = {
  component: _ButtonGroup.default,
  title: 'ButtonGroup'
};
exports.default = _default;

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

var Main = function Main() {
  return /*#__PURE__*/_react.default.createElement("div", null, ['primary', 'secondary', 'destructive', 'timer'].map(function (level) {
    return ['small', 'medium', 'large'].map(function (size) {
      return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {
        key: level + size
      }, /*#__PURE__*/_react.default.createElement(Wrapper, null, /*#__PURE__*/_react.default.createElement(_ButtonGroup.default, {
        level: level,
        size: size
      }, /*#__PURE__*/_react.default.createElement(_button.default, null, "One"), /*#__PURE__*/_react.default.createElement(_button.default, null, "Two"), /*#__PURE__*/_react.default.createElement(_button.default, null, "Three"))), /*#__PURE__*/_react.default.createElement(Wrapper, null, /*#__PURE__*/_react.default.createElement(_ButtonGroup.default, {
        level: level,
        size: size,
        segmented: true
      }, /*#__PURE__*/_react.default.createElement(_button.default, null, "One"), /*#__PURE__*/_react.default.createElement(_button.default, null, "Two"), /*#__PURE__*/_react.default.createElement(_button.default, null, "Three"))), /*#__PURE__*/_react.default.createElement(Wrapper, null, /*#__PURE__*/_react.default.createElement(_ButtonGroup.default, {
        level: level,
        size: size,
        value: "two"
      }, /*#__PURE__*/_react.default.createElement(_button.default, {
        value: "one"
      }, "One"), /*#__PURE__*/_react.default.createElement(_button.default, {
        value: "two"
      }, "Two"), /*#__PURE__*/_react.default.createElement(_button.default, {
        value: "three"
      }, "Three"))), /*#__PURE__*/_react.default.createElement(Wrapper, null, /*#__PURE__*/_react.default.createElement(_ButtonGroup.default, {
        level: level,
        size: size,
        segmented: true,
        value: "two"
      }, /*#__PURE__*/_react.default.createElement(_button.default, {
        value: "one"
      }, "One"), /*#__PURE__*/_react.default.createElement(_button.default, {
        value: "two"
      }, "Two"), /*#__PURE__*/_react.default.createElement(_button.default, {
        value: "three"
      }, "Three"))));
    });
  }));
};

exports.Main = Main;