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,
|
EuiPage,
|
||||||
EuiPageHeader,
|
EuiPageHeader,
|
||||||
EuiPageBody,
|
EuiPageBody,
|
||||||
EuiPageContent_Deprecated as EuiPageContent,
|
EuiPageSection,
|
||||||
EuiPageContentBody_Deprecated as EuiPageContentBody,
|
|
||||||
} from '@elastic/eui';
|
} from '@elastic/eui';
|
||||||
|
|
||||||
import { TestImageA } from '../components';
|
import { TestImageA } from '../components';
|
||||||
|
@ -62,7 +61,7 @@ export const CaptureTest: FunctionComponent = () => {
|
||||||
return (
|
return (
|
||||||
<EuiPage>
|
<EuiPage>
|
||||||
<EuiPageBody>
|
<EuiPageBody>
|
||||||
<EuiPageContent>
|
<EuiPageSection>
|
||||||
<EuiPageHeader>
|
<EuiPageHeader>
|
||||||
<EuiFlexGroup alignItems="center" justifyContent="flexEnd">
|
<EuiFlexGroup alignItems="center" justifyContent="flexEnd">
|
||||||
<EuiFlexItem grow={false}>
|
<EuiFlexItem grow={false}>
|
||||||
|
@ -75,16 +74,16 @@ export const CaptureTest: FunctionComponent = () => {
|
||||||
</EuiFlexItem>
|
</EuiFlexItem>
|
||||||
</EuiFlexGroup>
|
</EuiFlexGroup>
|
||||||
</EuiPageHeader>
|
</EuiPageHeader>
|
||||||
<EuiPageContentBody>
|
</EuiPageSection>
|
||||||
<EuiSpacer />
|
<EuiPageSection>
|
||||||
<EuiTabbedContent
|
<EuiSpacer />
|
||||||
tabs={tabs}
|
<EuiTabbedContent
|
||||||
initialSelectedTab={
|
tabs={tabs}
|
||||||
tabToRender ? tabs.find((tab) => tab.id === tabToRender) : undefined
|
initialSelectedTab={
|
||||||
}
|
tabToRender ? tabs.find((tab) => tab.id === tabToRender) : undefined
|
||||||
/>
|
}
|
||||||
</EuiPageContentBody>
|
/>
|
||||||
</EuiPageContent>
|
</EuiPageSection>
|
||||||
</EuiPageBody>
|
</EuiPageBody>
|
||||||
</EuiPage>
|
</EuiPage>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue