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.

568 B
Raw Blame
'use client'
import type { FC } from 'react'
import { cn } from '@langgenius/dify-ui/cn'
import * as React from 'react'

type Props = Readonly<{
  id?: string
  isDeleted?: boolean
  className?: string
  text: string
}>

const Label: FC<Props> = ({ id, isDeleted, className, text }) => {
  return (
    <div
      id={id}
      className={cn(
        'w-34 shrink-0 truncate system-xs-medium text-text-tertiary',
        isDeleted && 'text-text-quaternary line-through',
        className,
      )}
    >
      {text}
    </div>
  )
}
export default React.memo(Label)