import React from 'react' ; import { APP_SEARCH_PLUGIN } from '../../../../../common/constants' ; import { PageTemplateProps } from '../../../shared/layout' ; import { NotFoundPrompt } from '../../../shared/not_found' ; import { SendAppSearchTelemetry } from '../../../shared/telemetry' ; import { AppSearchPageTemplate } from '../layout' ; export const NotFound = ( { pageChrome = [ ] } ) => { return ( < AppSearchPageTemplate pageChrome = { [ ... pageChrome , '404' ] } template = "centeredContent" > < SendAppSearchTelemetry action = "error" metric = "not_found" / > < NotFoundPrompt productSupportUrl = { APP_SEARCH_PLUGIN . SUPPORT_URL } /> < /AppSearchPageTemplate>); } ;