"use strict";

require("./demo2.css");

var _box = _interopRequireDefault(require("../../box"));

var _ = _interopRequireDefault(require(".."));

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

var _reactDom = _interopRequireDefault(require("react-dom"));

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 props = {
  component: 'a',
  href: 'http://www.alibaba.com',
  target: '_blank'
};

_reactDom["default"].render( /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_box["default"], {
  direction: "row",
  className: "demo2-btn-row",
  spacing: 20
}, /*#__PURE__*/_react["default"].createElement("span", {
  className: "demo2-btn-label"
}, "XL:"), /*#__PURE__*/_react["default"].createElement(_["default"], _extends({}, props, {
  size: "xl",
  type: "primary"
}), "alibaba.com"), /*#__PURE__*/_react["default"].createElement(_["default"], _extends({}, props, {
  size: "xl",
  type: "secondary"
}), "alibaba.com"), /*#__PURE__*/_react["default"].createElement(_["default"], _extends({}, props, {
  size: "xl",
  type: "normal"
}), "alibaba.com"), /*#__PURE__*/_react["default"].createElement(_["default"], _extends({}, props, {
  size: "xl",
  loading: true
}), "alibaba.com loading")), /*#__PURE__*/_react["default"].createElement(_box["default"], {
  direction: "row",
  className: "demo2-btn-row",
  spacing: 20
}, /*#__PURE__*/_react["default"].createElement("span", {
  className: "demo2-btn-label"
}, "Large:"), /*#__PURE__*/_react["default"].createElement(_["default"], _extends({}, props, {
  size: "large",
  type: "primary"
}), "alibaba.com"), /*#__PURE__*/_react["default"].createElement(_["default"], _extends({}, props, {
  size: "large",
  type: "secondary"
}), "alibaba.com"), /*#__PURE__*/_react["default"].createElement(_["default"], _extends({}, props, {
  size: "large",
  type: "normal"
}), "alibaba.com"), /*#__PURE__*/_react["default"].createElement(_["default"], _extends({}, props, {
  size: "large",
  loading: true
}), "alibaba.com loading")), /*#__PURE__*/_react["default"].createElement(_box["default"], {
  direction: "row",
  className: "demo2-btn-row",
  spacing: 20
}, /*#__PURE__*/_react["default"].createElement("span", {
  className: "demo2-btn-label"
}, "Medium:"), /*#__PURE__*/_react["default"].createElement(_["default"], _extends({}, props, {
  size: "medium",
  type: "primary"
}), "alibaba.com"), /*#__PURE__*/_react["default"].createElement(_["default"], _extends({}, props, {
  size: "medium",
  type: "secondary"
}), "alibaba.com"), /*#__PURE__*/_react["default"].createElement(_["default"], _extends({}, props, {
  size: "medium",
  type: "normal"
}), "alibaba.com"), /*#__PURE__*/_react["default"].createElement(_["default"], _extends({}, props, {
  size: "medium",
  loading: true
}), "alibaba.com loading")), /*#__PURE__*/_react["default"].createElement(_box["default"], {
  direction: "row",
  className: "demo2-btn-row",
  spacing: 20
}, /*#__PURE__*/_react["default"].createElement("span", {
  className: "demo2-btn-label"
}, "Small:"), /*#__PURE__*/_react["default"].createElement(_["default"], _extends({}, props, {
  size: "small",
  type: "primary"
}), "alibaba.com"), /*#__PURE__*/_react["default"].createElement(_["default"], _extends({}, props, {
  size: "small",
  type: "secondary"
}), "alibaba.com"), /*#__PURE__*/_react["default"].createElement(_["default"], _extends({}, props, {
  size: "small",
  type: "normal"
}), "alibaba.com"), /*#__PURE__*/_react["default"].createElement(_["default"], _extends({}, props, {
  size: "small",
  loading: true
}), "alibaba.com loading")), /*#__PURE__*/_react["default"].createElement(_box["default"], {
  direction: "row",
  className: "demo2-btn-row",
  spacing: 20
}, /*#__PURE__*/_react["default"].createElement("span", {
  className: "demo2-btn-label"
}, "XS:"), /*#__PURE__*/_react["default"].createElement(_["default"], _extends({}, props, {
  size: "xs",
  type: "primary"
}), "alibaba.com"), /*#__PURE__*/_react["default"].createElement(_["default"], _extends({}, props, {
  size: "xs",
  type: "secondary"
}), "alibaba.com"), /*#__PURE__*/_react["default"].createElement(_["default"], _extends({}, props, {
  size: "xs",
  type: "normal"
}), "alibaba.com"), /*#__PURE__*/_react["default"].createElement(_["default"], _extends({}, props, {
  size: "xs",
  loading: true
}), "alibaba.com loading"))), document.getElementById('button-demo-2'));