mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 01:48:04 +08:00
feat: doc extract struct
This commit is contained in:
@ -8,12 +8,14 @@ import type { Node } from '@/app/components/workflow/types'
|
||||
import { BlockEnum } from '@/app/components/workflow/types'
|
||||
|
||||
type NodeVariableItemProps = {
|
||||
className?: string
|
||||
isEnv: boolean
|
||||
node: Node
|
||||
varName: string
|
||||
showBorder?: boolean
|
||||
}
|
||||
const NodeVariableItem = ({
|
||||
className,
|
||||
isEnv,
|
||||
node,
|
||||
varName,
|
||||
@ -22,7 +24,7 @@ const NodeVariableItem = ({
|
||||
return (
|
||||
<div className={cn(
|
||||
'relative flex items-center mt-0.5 h-6 bg-gray-100 rounded-md px-1 text-xs font-normal text-gray-700',
|
||||
showBorder && '!bg-black/[0.02]',
|
||||
showBorder && '!bg-black/[0.02]', className,
|
||||
)}>
|
||||
{!isEnv && (
|
||||
<div className='flex items-center'>
|
||||
|
||||
Reference in New Issue
Block a user