meraproject/content/modulebz/js/module/dash/common/DashTitle.js
keboss-m 5c21d25d45 Initial commit: Merakomis portal, Docker stack and user-reader API.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-24 11:04:05 +03:00

23 lines
456 B
JavaScript

var DashTitle;
export default window.DashTitle = DashTitle = class DashTitle extends React.Component {
constructor(props) {
super(props);
}
render() {
var link, title;
title = this.props.title;
link = this.props.link;
if (link) {
title = /*#__PURE__*/React.createElement("a", {
href: link
}, title);
}
return /*#__PURE__*/React.createElement("div", {
className: "h1 mb0"
}, title);
}
};