meraproject/content/modulebz/js/module/dash/common/DashImage.min.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

3 lines
512 B
JavaScript

var DashImage;export default window.DashImage=DashImage=class extends React.Component{constructor(e){super(e)}render(){var e,s,t;return e=["img",null!=this.props.ratio?"pb-"+this.props.ratio:void 0,null!=this.props.height?" "+this.props.height:void 0].join(" "),t={backgroundImage:"url("+this.props.image+")"},s=this.props.link,null!=this.props.image?null!=s?React.createElement("a",{href:s,className:e,style:t}):React.createElement("div",{className:e,style:t}):null}};
//# sourceMappingURL=DashImage.min.js.map