mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-05-25 23:58:15 +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>
23 lines
614 B
TypeScript
23 lines
614 B
TypeScript
import type { FC } from 'react'
|
|
import React from 'react'
|
|
import {
|
|
RiSparklingFill,
|
|
} from '@remixicon/react'
|
|
import { useTranslation } from 'react-i18next'
|
|
|
|
export type INoDataProps = {}
|
|
const NoData: FC<INoDataProps> = () => {
|
|
const { t } = useTranslation()
|
|
return (
|
|
<div className='flex h-full w-full flex-col items-center justify-center'>
|
|
<RiSparklingFill className='h-12 w-12 text-text-empty-state-icon' />
|
|
<div
|
|
className='system-sm-regular mt-2 text-text-quaternary'
|
|
>
|
|
{t('share.generation.noData')}
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
export default React.memo(NoData)
|