"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports["default"] = defaultRender;
var _react = _interopRequireDefault(require("react"));
var _isObject = _interopRequireDefault(require("lodash/isObject"));
function defaultRender(value, className) {
  if (className === void 0) {
    className = '';
  }
  if (value === undefined || value === null) {
    return '';
  }
  if ((0, _isObject["default"])(value)) {
    value = JSON.stringify(value);
  }
  return /*#__PURE__*/_react["default"].createElement("span", {
    title: value,
    className: className
  }, value);
}
;