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.

464 B
Raw Blame
'use client';

import { createModal, type ModalInstance } from '@lobehub/ui';
import { t } from 'i18next';

import TopicDoctorContent, { type TopicDoctorContentProps } from './Content';

export const openTopicDoctorModal = (props: TopicDoctorContentProps): ModalInstance =>
  createModal({
    content: <TopicDoctorContent {...props} />,
    footer: null,
    maskClosable: true,
    title: t('doctor.title', { ns: 'topic' }),
    width: 'min(90vw, 480px)',
  });