import IndentedTree from '@/components/indented-tree/indented-tree'; import { Progress } from '@/components/ui/progress'; import { IModalProps } from '@/interfaces/common'; import { X } from 'lucide-react'; import { useTranslation } from 'react-i18next'; import { usePendingMindMap } from '../search/hooks'; interface IProps extends IModalProps { data: any; } const MindMapDrawer = ({ data, hideModal, visible, loading }: IProps) => { const { t } = useTranslation(); const percent = usePendingMindMap(); return (
{t('chunk.mind')}
{ hideModal?.(); }} />
{loading && (
)} {!loading && (
)}
); }; export default MindMapDrawer;