meraproject/content/modulebz/js/module/ui/title.js

24 lines
583 B
JavaScript
Raw Normal View History

var Title;
export default window.Title = Title = class Title extends React.Component {
constructor(props) {
super(props);
}
render() {
var a, more_title, ref;
a = null;
if (this.props.more != null && this.props.more !== '') {
more_title = (ref = this.props.more_text) != null ? ref : "Смотреть всё";
a = /*#__PURE__*/React.createElement("a", {
href: this.props.more,
class: "more"
}, more_title);
}
return /*#__PURE__*/React.createElement("div", {
className: "h"
}, this.props.title, a);
}
};