2020-03-06 11:16:04 +01:00
|
|
|
import { html } from "lit-html";
|
2020-07-09 08:57:25 +02:00
|
|
|
import { renderImage } from "./directives/image.js";
|
2020-03-06 11:16:04 +01:00
|
|
|
|
2020-07-14 15:45:16 +02:00
|
|
|
export default (o) => html`${renderImage(o.url, o.onLoad, o.onClick)}`;
|