"use strict";

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

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

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

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var dataSource = [{
  label: '1',
  value: 1
}, {
  label: '10',
  value: 10
}, {
  label: '50',
  value: 50
}, {
  label: '100',
  value: 100
}];

var handleChange = function handleChange(value) {
  console.log('handleChange: ', value);
};

_reactDom["default"].render( /*#__PURE__*/_react["default"].createElement(_["default"], {
  label: "size:",
  innerAfter: /*#__PURE__*/_react["default"].createElement("span", {
    style: {
      marginRight: 4
    }
  }, "GB"),
  dataSource: dataSource,
  onChange: handleChange
}), document.getElementById('select-demo-9'));