mirror of
				https://github.com/langgenius/dify.git
				synced 2025-10-24 23:48:40 +00:00 
			
		
		
		
	 7753ba2d37
			
		
	
	
		7753ba2d37
		
			
		
	
	
	
	
		
			
			Co-authored-by: Joel <iamjoel007@gmail.com> Co-authored-by: Yeuoly <admin@srmxy.cn> Co-authored-by: JzoNg <jzongcode@gmail.com> Co-authored-by: StyleZhang <jasonapring2015@outlook.com> Co-authored-by: jyong <jyong@dify.ai> Co-authored-by: nite-knite <nkCoding@gmail.com> Co-authored-by: jyong <718720800@qq.com>
		
			
				
	
	
		
			20 lines
		
	
	
		
			581 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			581 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import { useTranslation } from 'react-i18next'
 | |
| import { ChatBotSlim } from '@/app/components/base/icons/src/vender/line/communication'
 | |
| 
 | |
| const Empty = () => {
 | |
|   const { t } = useTranslation()
 | |
| 
 | |
|   return (
 | |
|     <div className='absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2'>
 | |
|       <div className='flex justify-center mb-2'>
 | |
|         <ChatBotSlim className='w-12 h-12 text-gray-300' />
 | |
|       </div>
 | |
|       <div className='w-[256px] text-center text-[13px] text-gray-400'>
 | |
|         {t('workflow.common.previewPlaceholder')}
 | |
|       </div>
 | |
|     </div>
 | |
|   )
 | |
| }
 | |
| 
 | |
| export default Empty
 |