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.

607 B
Raw Blame
import { Button } from '@langgenius/dify-ui/button'
import * as React from 'react'
import { useTranslation } from 'react-i18next'

type ActionsProps = {
  runDisabled?: boolean
  onProcess: () => void
}

const Actions = ({ onProcess, runDisabled }: ActionsProps) => {
  const { t } = useTranslation(['datasetPipeline'])

  return (
    <div className="flex items-center justify-end">
      <Button variant="primary" onClick={onProcess} disabled={runDisabled}>
        {t(($) => $['operations.saveAndProcess'], { ns: 'datasetPipeline' })}
      </Button>
    </div>
  )
}

export default React.memo(Actions)