import * as React from 'react'; import { observer, Node, NodeModel, TaskNode, withSelection, WithSelectionProps, } from '@patternfly/react-topology'; import { runStatusToRunStatus } from '../../../topology/utils'; import { CommitWorkflowNodeModelData } from './commit-visualization-types'; import { getCommitWorkflowNodeIcon, getCommitWorkflowTooltipText, } from './commit-visualization-utils'; import './CommitWorkflowNode.scss'; type CommitWorkflowNodeProps = { element: Node; } & WithSelectionProps; const CommitWorkflowNode: React.FC> = ({ element, ...rest }) => { const { workflowType, status } = element.getData(); return ( ); }; export default withSelection()(observer(CommitWorkflowNode));