import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
var _excluded = ["text", "color"];
import React from "react";
import "./css.less";
var ProComponent = function ProComponent(props) {
  var _props$text = props.text,
    text = _props$text === void 0 ? '这是换行测试\n空格测试\t结束' : _props$text,
    _props$color = props.color,
    color = _props$color === void 0 ? '#000' : _props$color,
    others = _objectWithoutPropertiesLoose(props, _excluded);
  return /*#__PURE__*/React.createElement("pre", {
    style: {
      color: color
    }
  }, text || '-');
};
export default ProComponent;