mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 10:40:07 -04:00
## 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>
42 lines
1.3 KiB
TypeScript
42 lines
1.3 KiB
TypeScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
* Side Public License, v 1.
|
|
*/
|
|
|
|
import React from 'react';
|
|
|
|
import { EuiText, EuiTitle } from '@elastic/eui';
|
|
|
|
import { FormattedMessage } from '@kbn/i18n-react';
|
|
import { EuiPageHeader, EuiPageSection } from '@elastic/eui';
|
|
|
|
export const StepTwo = () => {
|
|
return (
|
|
<>
|
|
<EuiPageHeader>
|
|
<EuiTitle>
|
|
<h2>
|
|
<FormattedMessage
|
|
id="guidedOnboardingExample.stepTwo.title"
|
|
defaultMessage="Example step 2"
|
|
/>
|
|
</h2>
|
|
</EuiTitle>
|
|
</EuiPageHeader>
|
|
<EuiPageSection>
|
|
<EuiText>
|
|
<p>
|
|
<FormattedMessage
|
|
id="guidedOnboardingExample.guidesSelection.stepTwo.explanation"
|
|
defaultMessage="This page is used for the manual completion of Test guide, step 2. The manual completion popover
|
|
should appear on the header button 'Setup guide' to open the panel and mark the step done."
|
|
/>
|
|
</p>
|
|
</EuiText>
|
|
</EuiPageSection>
|
|
</>
|
|
);
|
|
};
|