kibana/x-pack/legacy/plugins/apm/public/components/shared/LoadingStatePrompt.tsx
Casper Hübertz c852a2bc78
[APM] Improve table and other panel loading states (#53459) (#53583)
Updated text loading states to animated spinners.
2019-12-19 15:53:34 +01:00

18 lines
566 B
TypeScript

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import React from 'react';
import { EuiFlexGroup, EuiFlexItem, EuiLoadingSpinner } from '@elastic/eui';
export function LoadingStatePrompt() {
return (
<EuiFlexGroup justifyContent="spaceAround">
<EuiFlexItem grow={false}>
<EuiLoadingSpinner size="l" />
</EuiFlexItem>
</EuiFlexGroup>
);
}