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 { piecesHooks } from '../hooks/pieces-hooks';
import { PieceIcon } from './piece-icon';
type PieceIconWithPieceNameProps = {
pieceName: string;
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
border?: boolean;
showTooltip?: boolean;
};
const PieceIconWithPieceName = ({
pieceName,
size = 'md',
border = true,
showTooltip = true,
}: PieceIconWithPieceNameProps) => {
const { summary } = piecesHooks.usePieceSummary({ name: pieceName });
return (
<PieceIcon
size={size}
border={border}
displayName={summary?.displayName}
logoUrl={summary?.logoUrl}
showTooltip={showTooltip}
/>
);
};
export { PieceIconWithPieceName };