import React from 'react' ; import { FormattedMessage } from '@kbn/i18n-react' ; interface Props { getUrl : ( ) => string ; } export const ReportLink = ( { getUrl } ) => ( < FormattedMessage id = "xpack.reporting.publicNotifier.reportLink.pickItUpFromPathDescription" defaultMessage = "Pick it up from {path}." values = { { path : ( < a href = { getUrl ( ) } > < FormattedMessage id = "xpack.reporting.publicNotifier.reportLink.reportingSectionUrlLinkLabel" defaultMessage = "Stack Management &gt; Alerts and Insights &gt; Reporting" / > < /a>), } } />);