import React from 'react' ; import { AgentConfigurationPageStep } from '../../../../common/agent_configuration/constants' ; import { useApmParams } from '../../../hooks/use_apm_params' ; import { AgentConfigurationCreateEdit } from '../../app/Settings/agent_configurations/AgentConfigurationCreateEdit' ; export function CreateAgentConfigurationRouteView ( ) { const { query : { pageStep = AgentConfigurationPageStep . ChooseService } , } = useApmParams ( '/settings/agent-configuration/create' ) ; return < AgentConfigurationCreateEdit pageStep = { pageStep } />; }