import * as React from 'react' ; import type { IExecutionDetailsSectionProps } from '@spinnaker/core' ; import { ExecutionDetailsSection , ExecutionStepDetails , StageFailureMessage } from '@spinnaker/core' ; export class DeployExecutionDetails extends React . Component < IExecutionDetailsSectionProps > { public static title = 'Task Status' ; constructor ( props ) { super ( props ) ; } public render ( ) { const { stage , current , name } = this . props ; return ( < ExecutionDetailsSection name = { name } current = { current } > < ExecutionStepDetails item = { stage } /> < StageFailureMessage stage = { stage } message = { stage . failureMessage } / > < /ExecutionDetailsSection>); } }