Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | 1x 1x | import { FC } from 'react'
import { Modal } from '@tmk/ui-kit'
import Loading from '@/shared/assets/icons/common/loading.svg'
import { useTranslate } from '@/shared/lib'
export interface ExcelExportModalProps {
isOpen: boolean
onClose: () => void
}
export const ExcelExportModal: FC<ExcelExportModalProps> = ({ isOpen, onClose }) => {
const { t } = useTranslate(['accounting-object', 'common'])
return (
<Modal
withCloseButton
isOpen={isOpen}
onClose={onClose}
className='max-w-[342px]'
overlayClassName='!backdrop-blur-none'
>
<div className='flex flex-col justify-center items-center gap-y-2.5'>
<h1 className='text-center'>{t('Excel_export_loading_wait')}</h1>
<Loading className='h-10 w-10 fill-main animate-spin' />
</div>
</Modal>
)
}
|