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
|
@ -11,15 +11,12 @@ import React from 'react';
|
|||
import { EuiText, EuiTitle } from '@elastic/eui';
|
||||
|
||||
import { FormattedMessage } from '@kbn/i18n-react';
|
||||
import {
|
||||
EuiPageContentHeader_Deprecated as EuiPageContentHeader,
|
||||
EuiPageContentBody_Deprecated as EuiPageContentBody,
|
||||
} from '@elastic/eui';
|
||||
import { EuiPageHeader, EuiPageSection } from '@elastic/eui';
|
||||
|
||||
export const StepTwo = () => {
|
||||
return (
|
||||
<>
|
||||
<EuiPageContentHeader>
|
||||
<EuiPageHeader>
|
||||
<EuiTitle>
|
||||
<h2>
|
||||
<FormattedMessage
|
||||
|
@ -28,8 +25,8 @@ export const StepTwo = () => {
|
|||
/>
|
||||
</h2>
|
||||
</EuiTitle>
|
||||
</EuiPageContentHeader>
|
||||
<EuiPageContentBody>
|
||||
</EuiPageHeader>
|
||||
<EuiPageSection>
|
||||
<EuiText>
|
||||
<p>
|
||||
<FormattedMessage
|
||||
|
@ -39,7 +36,7 @@ export const StepTwo = () => {
|
|||
/>
|
||||
</p>
|
||||
</EuiText>
|
||||
</EuiPageContentBody>
|
||||
</EuiPageSection>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue