import React from 'react' ; import { APMLink , APMLinkExtendProps } from './apm_link' ; interface Props extends APMLinkExtendProps { serviceName : string ; errorGroupId : string ; } function ErrorDetailLink ( { serviceName , errorGroupId , ... rest } ) { return ( < APMLink path = { `/services/${ serviceName }/errors/${ errorGroupId }` } { ... rest } />); } export { ErrorDetailLink } ;