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

var _default = {
  component: _Checkbox.default,
  title: 'Checkbox'
};
exports.default = _default;

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

var Main = function Main() {
  return /*#__PURE__*/_react.default.createElement("div", null, ['small', 'medium', 'large'].map(function (size) {
    return /*#__PURE__*/_react.default.createElement(Wrapper, {
      key: size
    }, /*#__PURE__*/_react.default.createElement(_Checkbox.default, {
      size: size,
      marginRight: 2
    }), /*#__PURE__*/_react.default.createElement(_Checkbox.default, {
      size: size,
      marginRight: 2,
      checked: true
    }), /*#__PURE__*/_react.default.createElement(_Checkbox.default, {
      size: size,
      marginRight: 2,
      disabled: true
    }), /*#__PURE__*/_react.default.createElement(_Checkbox.default, {
      size: size,
      marginRight: 2,
      disabled: true,
      checked: true
    }), /*#__PURE__*/_react.default.createElement(_Checkbox.default, {
      size: size,
      marginRight: 2,
      indeterminate: true
    }), /*#__PURE__*/_react.default.createElement(_Checkbox.default, {
      size: size,
      marginRight: 2,
      indeterminate: true,
      disabled: true
    }), /*#__PURE__*/_react.default.createElement(_Checkbox.default, {
      size: size,
      marginRight: 2,
      label: "This is the label"
    }));
  }));
};

exports.Main = Main;