import React from 'react' ; import { PipelineRuntimeContext , StageRuntimeContext , UnitRuntimeContext } from '../types' ; import { InternalUnitsRuntime } from './internal-units-runtime' ; import { UnitRuntime } from './unit-runtime' ; export const UnitRun = ( props ) => { const { pipelineContext , stageContext , context } = props ; return < > < UnitRuntime pipelineContext = { pipelineContext } stageContext = { stageContext } context = { context } / > < InternalUnitsRuntime pipelineContext = { pipelineContext } stageContext = { stageContext } context = { context } / > < />; } ;