import React__default from 'react';

function TitleBar(_ref) {
  var content = _ref.content;

  if (typeof content === "string" || content instanceof String) {
    return /*#__PURE__*/React__default.createElement("h2", {
      className: "text-gray-800 text-lg leading-normal font-semibold"
    }, content);
  }

  return content;
}

export { TitleBar as default };
