Skip to content

Commit

Permalink
[data_visualizer] Migrate deprecated EuiPage* component (#168298)
Browse files Browse the repository at this point in the history
## Summary

EUI will shortly be removing several deprecated `EuiPage*` components,
and we're updating a few remaining Kibana usages of these deprecated
components ahead of time.

⚠️ PLEASE NOTE: We have **not** QA'd these changes to ensure that the UI
is 1:1 from before. We do not have the domain knowledge or time to spin
up local instances of all plugins with deprecations, and ask that the
CODEOWNING team pull down this branch and QA the affected page(s)
locally to ensure the UI looks like the same as production. ⚠️

See #161872 for other similar
tasks with more information about this effort.
  • Loading branch information
cee-chen committed Oct 9, 2023
1 parent 91b60c8 commit e672224
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import React, { Component } from 'react';
import {
EuiButton,
EuiPageBody,
EuiPageContentHeader_Deprecated as EuiPageContentHeader,
EuiPageHeader,
EuiPanel,
EuiSpacer,
EuiTitle,
Expand Down Expand Up @@ -481,11 +481,11 @@ export class ImportView extends Component {

return (
<EuiPageBody data-test-subj="dataVisualizerPageFileImport">
<EuiPageContentHeader>
<EuiPageHeader>
<EuiTitle>
<h1>{this.props.fileName}</h1>
</EuiTitle>
</EuiPageContentHeader>
</EuiPageHeader>
<EuiSpacer size="m" />
<EuiPanel data-test-subj="dataVisualizerFileImportSettingsPanel">
<EuiTitle size="s">
Expand Down

0 comments on commit e672224

Please sign in to comment.