mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-05 04:20:42 +08:00
23 lines
1022 B
TypeScript
23 lines
1022 B
TypeScript
import type { FC } from 'react'
|
|
import { useTranslation } from 'react-i18next'
|
|
import { Variable02 } from '@/app/components/base/icons/src/vender/solid/development'
|
|
|
|
const Empty: FC = () => {
|
|
const { t } = useTranslation()
|
|
|
|
return (
|
|
<div className='flex h-full flex-col gap-3 rounded-xl bg-background-section p-8'>
|
|
<div className='flex h-10 w-10 items-center justify-center rounded-[10px] border-[0.5px] border-components-card-border bg-components-card-bg shadow-lg backdrop-blur-sm'>
|
|
<Variable02 className='h-5 w-5 text-text-accent' />
|
|
</div>
|
|
<div className='flex flex-col gap-1'>
|
|
<div className='system-sm-semibold text-text-secondary'>{t('workflow.debug.variableInspect.title')}</div>
|
|
<div className='system-xs-regular text-text-tertiary'>{t('workflow.debug.variableInspect.emptyTip')}</div>
|
|
<a className='system-xs-regular cursor-pointer text-text-accent'>{t('workflow.debug.variableInspect.emptyLink')}</a>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default Empty
|