import React from 'react' ; import { KibanaPageTemplate } from '../../../../../../../../src/plugins/kibana_react/public' ; import { WORKPLACE_SEARCH_PLUGIN } from '../../../../../common/constants' ; import { ErrorStatePrompt } from '../../../shared/error_state' ; import { SetWorkplaceSearchChrome as SetPageChrome } from '../../../shared/kibana_chrome' ; import { SendWorkplaceSearchTelemetry as SendTelemetry } from '../../../shared/telemetry' ; import { ViewContentHeader } from '../../components/shared/view_content_header' ; export const ErrorState = ( ) => { return ( < > < SetPageChrome /> < SendTelemetry action = "error" metric = "cannot_connect" / > < KibanaPageTemplate isEmptyState > < ViewContentHeader title = { WORKPLACE_SEARCH_PLUGIN . NAME } /> < ErrorStatePrompt / > < /KibanaPageTemplate> < />); } ;