mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 11:05:39 -04:00
Remove deprecated EUI components in reporting_example plugin (#166224)
## Summary Partially addresses https://github.com/elastic/kibana/issues/161422 Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
3c9ccbe6af
commit
19235fabb7
1 changed files with 12 additions and 13 deletions
|
@ -19,8 +19,7 @@ import {
|
|||
EuiPage,
|
||||
EuiPageHeader,
|
||||
EuiPageBody,
|
||||
EuiPageContent_Deprecated as EuiPageContent,
|
||||
EuiPageContentBody_Deprecated as EuiPageContentBody,
|
||||
EuiPageSection,
|
||||
} from '@elastic/eui';
|
||||
|
||||
import { TestImageA } from '../components';
|
||||
|
@ -62,7 +61,7 @@ export const CaptureTest: FunctionComponent = () => {
|
|||
return (
|
||||
<EuiPage>
|
||||
<EuiPageBody>
|
||||
<EuiPageContent>
|
||||
<EuiPageSection>
|
||||
<EuiPageHeader>
|
||||
<EuiFlexGroup alignItems="center" justifyContent="flexEnd">
|
||||
<EuiFlexItem grow={false}>
|
||||
|
@ -75,16 +74,16 @@ export const CaptureTest: FunctionComponent = () => {
|
|||
</EuiFlexItem>
|
||||
</EuiFlexGroup>
|
||||
</EuiPageHeader>
|
||||
<EuiPageContentBody>
|
||||
<EuiSpacer />
|
||||
<EuiTabbedContent
|
||||
tabs={tabs}
|
||||
initialSelectedTab={
|
||||
tabToRender ? tabs.find((tab) => tab.id === tabToRender) : undefined
|
||||
}
|
||||
/>
|
||||
</EuiPageContentBody>
|
||||
</EuiPageContent>
|
||||
</EuiPageSection>
|
||||
<EuiPageSection>
|
||||
<EuiSpacer />
|
||||
<EuiTabbedContent
|
||||
tabs={tabs}
|
||||
initialSelectedTab={
|
||||
tabToRender ? tabs.find((tab) => tab.id === tabToRender) : undefined
|
||||
}
|
||||
/>
|
||||
</EuiPageSection>
|
||||
</EuiPageBody>
|
||||
</EuiPage>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue