Liferay.Loader.define("@liferay/frontend-data-set-web@1.0.31/data_renderers/ImageRenderer",["module","exports","require","@frontend-taglib-clay$clayui/sticker","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react","../utils/index"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(a("@frontend-taglib-clay$clayui/sticker")),n=(i(a("liferay!frontend-js-react-web$prop-types")),i(a("liferay!frontend-js-react-web$react"))),l=a("../utils/index");function i(e){return e&&e.__esModule?e:{default:e}}function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}var s=function(e){const t="string"==typeof e.value?{alt:e.options.label||(e.options.labelKey?(0,l.getValueFromItem)(e.itemData,e.options.labelKey):Liferay.Language.get("thumbnail")),src:e.value}:{alt:e.value.alt,src:e.value.src};return n.default.createElement(r.default,{shape:e.options.shape||"rounded",size:e.options.size||"xl"},n.default.createElement("img",o({className:"sticker-img"},t)))};t.default=s}}));
//# sourceMappingURL=ImageRenderer.js.map