Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

247 B
Raw Blame
export const downloadImage = (url: string) => {
  if (!url) return;
  const link = document.createElement('a');
  link.href = url;
  link.download = 'image';
  document.body.appendChild(link);
  link.click();
  document.body.removeChild(link);
};