mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 11:05:39 -04:00
[Guided onboarding] Migrate all usages of EuiPage*_Deprecated (#161457)
## Summary This PR removes all usages of EuiPage*_Deprecated for: - EuiPageContentBody_Deprecated -> Use EuiPageSection instead - EuiPageContentHeader_Deprecated -> Use EuiPageHeader instead Fixes: #161427 --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
0be1d5b1c0
commit
0e0106a322
5 changed files with 27 additions and 37 deletions
|
@ -18,8 +18,8 @@ import {
|
|||
EuiFlexItem,
|
||||
EuiFormRow,
|
||||
EuiHorizontalRule,
|
||||
EuiPageContentBody_Deprecated as EuiPageContentBody,
|
||||
EuiPageContentHeader_Deprecated as EuiPageContentHeader,
|
||||
EuiPageSection,
|
||||
EuiPageHeader,
|
||||
EuiSelect,
|
||||
EuiSpacer,
|
||||
EuiText,
|
||||
|
@ -149,7 +149,7 @@ export const Main = (props: MainProps) => {
|
|||
|
||||
return (
|
||||
<>
|
||||
<EuiPageContentHeader>
|
||||
<EuiPageHeader>
|
||||
<EuiTitle>
|
||||
<h2>
|
||||
<FormattedMessage
|
||||
|
@ -158,8 +158,8 @@ export const Main = (props: MainProps) => {
|
|||
/>
|
||||
</h2>
|
||||
</EuiTitle>
|
||||
</EuiPageContentHeader>
|
||||
<EuiPageContentBody>
|
||||
</EuiPageHeader>
|
||||
<EuiPageSection>
|
||||
<EuiText>
|
||||
<h3>
|
||||
<FormattedMessage
|
||||
|
@ -354,7 +354,7 @@ export const Main = (props: MainProps) => {
|
|||
</EuiButton>
|
||||
</EuiFlexItem>
|
||||
</EuiFlexGroup>
|
||||
</EuiPageContentBody>
|
||||
</EuiPageSection>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue