@forbespro/lead-agent
Version:
Lead Chat Agent React Component
11 lines (10 loc) • 354 B
JavaScript
import { footer as i } from "./index112.js";
import { createState as s } from "./index113.js";
function p(o, c) {
const e = s(o, c), t = e.one(o, void 0), r = i(e), n = Array.isArray(t) ? { type: "root", children: t } : t || { type: "root", children: [] };
return r && n.children.push({ type: "text", value: `
` }, r), n;
}
export {
p as toHast
};