xmpp.chapril.org-conversejs/src/templates/image.js
2020-03-25 10:39:41 +01:00

4 lines
197 B
JavaScript

import { html } from "lit-html";
export default (o) => html`<a href="${o.url}" class="chat-image__link" target="_blank" rel="noopener"><img class="chat-image img-thumbnail" src="${o.url}"/></a>`;