"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports["default"] = StyleSelect;
var _objectDestructuringEmpty2 = _interopRequireDefault(require("@babel/runtime/helpers/objectDestructuringEmpty"));
var _select = _interopRequireDefault(require("@alifd/next/lib/select"));
var Option = _select["default"].Option;
var options = [{
  value: "24px",
  label: "超大"
}, {
  value: "20px",
  label: "大"
}, {
  value: "16px",
  label: "中"
}, {
  value: "12px",
  label: "小"
}, {
  value: "8px",
  label: "超小"
}, {
  value: "0",
  label: "无"
}];
function StyleSelect(props) {
  (0, _objectDestructuringEmpty2["default"])(props);
  return /*#__PURE__*/React.createElement(_select["default"], {
    style: {
      width: "100%"
    },
    hasClear: true
  }, options.map(function (op) {
    return /*#__PURE__*/React.createElement(Option, {
      value: op.value
    }, op.label, "(", op.value, ")");
  }), /*#__PURE__*/React.createElement(Option, {
    value: undefined
  }, "\u81EA\u5B9A\u4E49"));
}