@forbespro/lead-agent
Version:
Lead Chat Agent React Component
19 lines (18 loc) • 361 B
JavaScript
import { toHast as e } from "./index76.js";
function f(r, t) {
return r && "run" in r ? async function(n, u) {
const a = (
/** @type {HastRoot} */
e(n, { file: u, ...t })
);
await r.run(a, u);
} : function(n, u) {
return (
/** @type {HastRoot} */
e(n, { file: u, ...r || t })
);
};
}
export {
f as default
};