"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var TitleNode = function TitleNode(props) {
  var render = props.render,
    data = props.data;
  return render ? render(data) : data.title || data.label;
};
var _default = exports.default = TitleNode;