mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
* perf: ⚡️ load dynamically reporting management section * refactor: 💡 remove JSX from main plugin entry file * perf: ⚡️ lazy-load CSV sharing panel React component * perf: ⚡️ lazy-load screen capture sharing panel React components * feat: 🎸 show spinner while shring panels are loading
22 lines
660 B
TypeScript
22 lines
660 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 * as React from 'react';
|
|
import { EuiSpacer, EuiFlexGroup, EuiFlexItem, EuiLoadingSpinner } from '@elastic/eui';
|
|
|
|
export const PanelSpinner: React.FC = (props) => {
|
|
return (
|
|
<>
|
|
<EuiSpacer />
|
|
<EuiFlexGroup justifyContent="spaceAround">
|
|
<EuiFlexItem grow={false}>
|
|
<EuiLoadingSpinner size="l" />
|
|
</EuiFlexItem>
|
|
</EuiFlexGroup>
|
|
<EuiSpacer />
|
|
</>
|
|
);
|
|
};
|