AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
import { ChevronDown } from 'lucide-react';
import { Button } from '@/components/ui/button';
import { flowScreenshotUtils } from '../../utils/flow-screenshot-utils';
const StepNodeChevron = ({
onClickOverride,
}: {
onClickOverride?: () => void;
}) => {
return (
<Button
{...{ [flowScreenshotUtils.SCREENSHOT_EXCLUDE_ATTRIBUTE]: 'ignore-me' }}
variant="ghost"
size="sm"
className="p-1 size-7 "
onClick={(e) => {
e.stopPropagation();
e.preventDefault();
if (onClickOverride) {
onClickOverride();
return;
}
if (e.target) {
const rightClickEvent = new MouseEvent('contextmenu', {
bubbles: true,
cancelable: true,
view: window,
button: 2,
clientX: e.clientX,
clientY: e.clientY,
});
e.target.dispatchEvent(rightClickEvent);
}
}}
>
<ChevronDown className="w-4 h-4 stroke-gray-11" />
</Button>
);
};
export { StepNodeChevron };