mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-05-26 08:08:17 +08:00

Co-authored-by: NFish <douxc512@gmail.com> Co-authored-by: zxhlyh <jasonapring2015@outlook.com> Co-authored-by: twwu <twwu@dify.ai> Co-authored-by: jZonG <jzongcode@gmail.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='mb-2 flex justify-center'>
|
|
<ChatBotSlim className='h-12 w-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
|