import React from 'react' ; import { FormattedMessage } from '@kbn/i18n-react' ; import { EuiEmptyPrompt } from '@elastic/eui' ; import { EuiLoadingElastic } from '@elastic/eui' ; export const NewsLoadingPrompt = ( ) => { return ( < EuiEmptyPrompt title = { < EuiLoadingElastic size = "xl" / > } body = { < p > < FormattedMessage id = "newsfeed.loadingPrompt.gettingNewsText" defaultMessage = "Getting the latest news..." / > < /p>}/ > ) ; } ;