import { EuiEmptyPrompt } from '@elastic/eui' ; import React from 'react' ; export const TimeseriesexplorerChartDataError = ( { errorMsg } ) => { return < EuiEmptyPrompt iconType = "alert" title = { < h2 > { errorMsg } < /h2>}/ > ; } ;