![JC Brand](/assets/img/avatar_default.png)
- Render chat content as a <converse-chat-content> component - Create new component for rendering the message body - Get rid of `showMessage` method
7 lines
342 B
JavaScript
7 lines
342 B
JavaScript
import { html } from "lit-html";
|
|
|
|
export default (o) => html`
|
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="${o.classes}" width="${o.width}" height="${o.height}">
|
|
<image width="${o.width}" height="${o.height}" preserveAspectRatio="xMidYMid meet" xlink:href="${o.image}"/>
|
|
</svg>`;
|