Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

626 B
Raw Blame
import * as React from 'react'
import { useTranslation } from 'react-i18next'
import FilterEmptyState from '@/app/components/base/filter-empty-state'

type EmptyProps = {
  message?: string
  stepByStepTourTarget?: string
}

const Empty = ({ message, stepByStepTourTarget }: EmptyProps) => {
  const { t } = useTranslation(['app'])

  return (
    <FilterEmptyState
      title={message ?? t(($) => $['filterEmpty.noApps'], { ns: 'app' })}
      contentDataAttributes={
        stepByStepTourTarget ? { 'data-step-by-step-tour-target': stepByStepTourTarget } : undefined
      }
    />
  )
}

export default React.memo(Empty)