🤯 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.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
'use client';
import { createModal } from '@lobehub/ui';
import ShareVisitorDocumentContent, { type ShareVisitorDocumentContentProps } from './Content';
export const createShareVisitorDocumentModal = (
params: ShareVisitorDocumentContentProps & { title: string },
) =>
createModal({
content: <ShareVisitorDocumentContent {...params} />,
footer: null,
maskClosable: true,
styles: { content: { maxHeight: '70vh', overflow: 'auto' } },
title: params.title,
width: 'min(90%, 800px)',
});