Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

205 B
Raw Blame
export const renderArtifact = (frame: HTMLIFrameElement, input: { html: string }) => {
  frame.setAttribute('sandbox', 'allow-scripts allow-same-origin');
  // alint-expect
  frame.srcdoc = input.html;
};