@forbespro/lead-agent
Version:
Lead Chat Agent React Component
11 lines (10 loc) • 369 B
JavaScript
import { normalizeUri as e } from "./index125.js";
function p(i, t) {
const l = { src: e(t.url) };
t.alt !== null && t.alt !== void 0 && (l.alt = t.alt), t.title !== null && t.title !== void 0 && (l.title = t.title);
const r = { type: "element", tagName: "img", properties: l, children: [] };
return i.patch(t, r), i.applyData(t, r);
}
export {
p as image
};