Skip to content

Commit

Permalink
Replace nested EuiFlyoutBody with EuiPanel in example profile
Browse files Browse the repository at this point in the history
  • Loading branch information
davismcphee committed Nov 8, 2024
1 parent 1ac22dc commit c5a9603
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* License v3.0 only", or the "Server Side Public License, v 1".
*/

import { EuiBadge, EuiLink, EuiFlyout, EuiFlyoutBody } from '@elastic/eui';
import { EuiBadge, EuiLink, EuiFlyout, EuiPanel } from '@elastic/eui';
import {
AppMenuActionId,
AppMenuActionType,
Expand Down Expand Up @@ -89,12 +89,12 @@ export const createExampleDataSourceProfileProvider = (): DataSourceProfileProvi
title: 'Example',
order: 0,
component: () => (
<EuiFlyoutBody>
<EuiPanel color="transparent" hasShadow={false}>
<div data-test-subj="exampleDataSourceProfileDocView">Example Doc View</div>
<pre data-test-subj="exampleDataSourceProfileDocViewRecord">
{context.formatRecord(params.record.flattened)}
</pre>
</EuiFlyoutBody>
</EuiPanel>
),
});

Expand Down

0 comments on commit c5a9603

Please sign in to comment.