empty.tsx 581 B

12345678910111213141516171819
  1. import { useTranslation } from 'react-i18next'
  2. import { ChatBotSlim } from '@/app/components/base/icons/src/vender/line/communication'
  3. const Empty = () => {
  4. const { t } = useTranslation()
  5. return (
  6. <div className='absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2'>
  7. <div className='flex justify-center mb-2'>
  8. <ChatBotSlim className='w-12 h-12 text-gray-300' />
  9. </div>
  10. <div className='w-[256px] text-center text-[13px] text-gray-400'>
  11. {t('workflow.common.previewPlaceholder')}
  12. </div>
  13. </div>
  14. )
  15. }
  16. export default Empty