您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

empty.tsx 1.2KB

12345678910111213141516171819202122232425262728
  1. import type { FC } from 'react'
  2. import { useTranslation } from 'react-i18next'
  3. import { Variable02 } from '@/app/components/base/icons/src/vender/solid/development'
  4. const Empty: FC = () => {
  5. const { t } = useTranslation()
  6. return (
  7. <div className='flex h-full flex-col gap-3 rounded-xl bg-background-section p-8'>
  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'>
  9. <Variable02 className='h-5 w-5 text-text-accent' />
  10. </div>
  11. <div className='flex flex-col gap-1'>
  12. <div className='system-sm-semibold text-text-secondary'>{t('workflow.debug.variableInspect.title')}</div>
  13. <div className='system-xs-regular text-text-tertiary'>{t('workflow.debug.variableInspect.emptyTip')}</div>
  14. <a
  15. className='system-xs-regular cursor-pointer text-text-accent'
  16. href='https://docs.dify.ai/en/guides/workflow/debug-and-preview/variable-inspect'
  17. target='_blank'
  18. rel='noopener noreferrer'>
  19. {t('workflow.debug.variableInspect.emptyLink')}
  20. </a>
  21. </div>
  22. </div>
  23. )
  24. }
  25. export default Empty