mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 10:40:07 -04:00
Update EUI deprecated components in sample screenshot plugin (#163409)
## Summary Closes https://github.com/elastic/kibana/issues/161425
This commit is contained in:
parent
b62747e085
commit
c13dcf47c5
1 changed files with 8 additions and 9 deletions
|
@ -13,9 +13,8 @@ import { FormattedMessage, I18nProvider } from '@kbn/i18n-react';
|
||||||
import {
|
import {
|
||||||
EuiPage,
|
EuiPage,
|
||||||
EuiPageBody,
|
EuiPageBody,
|
||||||
EuiPageContent_Deprecated as EuiPageContent,
|
EuiPageTemplate,
|
||||||
EuiPageContentBody_Deprecated as EuiPageContentBody,
|
EuiPageSection,
|
||||||
EuiPageContentHeader_Deprecated as EuiPageContentHeader,
|
|
||||||
EuiPageHeader,
|
EuiPageHeader,
|
||||||
EuiTitle,
|
EuiTitle,
|
||||||
EuiText,
|
EuiText,
|
||||||
|
@ -82,8 +81,8 @@ export const ScreenshotModeExampleApp = ({
|
||||||
</h1>
|
</h1>
|
||||||
</EuiTitle>
|
</EuiTitle>
|
||||||
</EuiPageHeader>
|
</EuiPageHeader>
|
||||||
<EuiPageContent>
|
<EuiPageTemplate.Section>
|
||||||
<EuiPageContentHeader>
|
<EuiPageHeader>
|
||||||
<EuiTitle>
|
<EuiTitle>
|
||||||
<h2>
|
<h2>
|
||||||
{isScreenshotMode ? (
|
{isScreenshotMode ? (
|
||||||
|
@ -99,8 +98,8 @@ export const ScreenshotModeExampleApp = ({
|
||||||
)}
|
)}
|
||||||
</h2>
|
</h2>
|
||||||
</EuiTitle>
|
</EuiTitle>
|
||||||
</EuiPageContentHeader>
|
</EuiPageHeader>
|
||||||
<EuiPageContentBody>
|
<EuiPageSection>
|
||||||
<EuiText>
|
<EuiText>
|
||||||
{isScreenshotMode ? (
|
{isScreenshotMode ? (
|
||||||
<p>We detected screenshot mode. The chrome navbar should be hidden.</p>
|
<p>We detected screenshot mode. The chrome navbar should be hidden.</p>
|
||||||
|
@ -111,8 +110,8 @@ export const ScreenshotModeExampleApp = ({
|
||||||
</p>
|
</p>
|
||||||
)}
|
)}
|
||||||
</EuiText>
|
</EuiText>
|
||||||
</EuiPageContentBody>
|
</EuiPageSection>
|
||||||
</EuiPageContent>
|
</EuiPageTemplate.Section>
|
||||||
</EuiPageBody>
|
</EuiPageBody>
|
||||||
</EuiPage>
|
</EuiPage>
|
||||||
</>
|
</>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue