"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;

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

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

var preCls = "homepage-datalist__main__listEmpty";

function TableEmptyBackground(props) {
  var _props$emptyInfo = props.emptyInfo,
      imageSrc = _props$emptyInfo.imageSrc,
      link = _props$emptyInfo.link,
      emptyText = _props$emptyInfo.emptyText,
      linkText = _props$emptyInfo.linkText;
  return /*#__PURE__*/_react["default"].createElement("div", {
    className: "".concat(preCls)
  }, /*#__PURE__*/_react["default"].createElement("img", {
    src: imageSrc
  }), /*#__PURE__*/_react["default"].createElement("div", {
    className: "".concat(preCls, "--text")
  }, emptyText), /*#__PURE__*/_react["default"].createElement("a", {
    className: "".concat(preCls, "--link"),
    href: link
  }, /*#__PURE__*/_react["default"].createElement("b", {
    className: "tu-icon-shoushi"
  }), linkText));
}

var _default = TableEmptyBackground;
exports["default"] = _default;