function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
import React from 'react';
import { Button } from 'antd';
import Icon from "../../../icon";
import "./ReadPretty.less";
var IconSelectReadPretty = function IconSelectReadPretty(props) {
  if (!props.value) {
    return null;
  }
  return /*#__PURE__*/React.createElement(Button, {
    size: "large",
    icon: /*#__PURE__*/React.createElement(Icon, _extends({
      type: props.value
    }, props)),
    className: "pisell-icon-select-read-pretty"
  });
};
export default IconSelectReadPretty;