@forbespro/lead-agent
Version:
Lead Chat Agent React Component
16 lines (15 loc) • 336 B
JavaScript
import { normalizeUri as e } from "./index125.js";
function a(l, t) {
const i = { href: e(t.url) };
t.title !== null && t.title !== void 0 && (i.title = t.title);
const r = {
type: "element",
tagName: "a",
properties: i,
children: l.all(t)
};
return l.patch(t, r), l.applyData(t, r);
}
export {
a as link
};