Feat: Displays the tool operator icon #3221 (#9133)

### What problem does this PR solve?

Feat: Displays the tool operator icon #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-07-31 15:05:12 +08:00
committed by GitHub
parent aeaeb169e4
commit 0d7a83f05f
14 changed files with 298 additions and 293 deletions

View File

@ -4,7 +4,7 @@ import { Handle, HandleProps } from '@xyflow/react';
import { Plus } from 'lucide-react';
import { useMemo } from 'react';
import { HandleContext } from '../../context';
import { NextStepDropdown } from './dropdown/next-step-dropdown';
import { InnerNextStepDropdown } from './dropdown/next-step-dropdown';
export function CommonHandle({
className,
@ -38,9 +38,9 @@ export function CommonHandle({
>
<Plus className="size-3 pointer-events-none" />
{visible && (
<NextStepDropdown hideModal={hideModal}>
<InnerNextStepDropdown hideModal={hideModal}>
<span></span>
</NextStepDropdown>
</InnerNextStepDropdown>
)}
</Handle>
</HandleContext.Provider>