"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;
var _react = _interopRequireDefault(require("react"));
var _tooltip = _interopRequireDefault(require("antd/lib/tooltip"));
var _QuestionCircleOutlined = _interopRequireDefault(require("@ant-design/icons/QuestionCircleOutlined"));
var _propTypes = _interopRequireDefault(require("prop-types"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
var TipText = function TipText(_ref) {
  var text = _ref.text,
    tip = _ref.tip;
  return /*#__PURE__*/_react["default"].createElement("span", null, text, ' ', /*#__PURE__*/_react["default"].createElement(_tooltip["default"], {
    title: tip
  }, /*#__PURE__*/_react["default"].createElement(_QuestionCircleOutlined["default"], {
    style: {
      marginLeft: 4,
      color: '#ccc'
    }
  })));
};
TipText.propTypes = {
  text: _propTypes["default"].any,
  tip: _propTypes["default"].any
};
var _default = exports["default"] = TipText;
//# sourceMappingURL=index.js.map
