mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-27 07:14:56 +00:00
27 lines
505 B
TypeScript
27 lines
505 B
TypeScript
/**
|
|
* WorkflowCardFooter Component
|
|
* Displays workflow metadata (node and connection counts)
|
|
*/
|
|
|
|
import React from 'react';
|
|
|
|
interface WorkflowCardFooterProps {
|
|
nodeCount: number;
|
|
connectionCount: number;
|
|
testId?: string;
|
|
}
|
|
|
|
export const WorkflowCardFooter: React.FC<WorkflowCardFooterProps> = ({
|
|
nodeCount,
|
|
connectionCount,
|
|
testId,
|
|
}) => {
|
|
return (
|
|
<div data-testid={testId}>
|
|
<span >
|
|
{nodeCount} nodes • {connectionCount} connections
|
|
</span>
|
|
</div>
|
|
);
|
|
};
|