Skip to content

Commit 5ccf681

Browse files
committed
replace the eui component with the new one
1 parent 366a472 commit 5ccf681

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

redisinsight/ui/src/components/page-placeholder/PagePlaceholder.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
import React from 'react'
2-
import { EuiEmptyPrompt } from '@elastic/eui'
2+
33
import LogoIcon from 'uiSrc/assets/img/logo_small.svg'
44
import { getConfig } from 'uiSrc/config'
55
import { RiLoadingLogo } from 'uiSrc/components/base/display'
6+
import { RiEmptyPrompt } from 'uiSrc/components/base/layout'
67

78
const riConfig = getConfig()
89

910
const PagePlaceholder = () => (
1011
<>
1112
{riConfig.app.env !== 'development' && (
12-
<EuiEmptyPrompt
13+
<RiEmptyPrompt
1314
data-testid="page-placeholder"
1415
icon={<RiLoadingLogo src={LogoIcon} $size="XXL" />}
15-
titleSize="s"
1616
/>
1717
)}
1818
</>

redisinsight/ui/src/components/side-panels/panels/enablement-area/EnablementArea/components/EmptyPrompt/EmptyPrompt.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import React from 'react'
2-
import { EuiEmptyPrompt } from '@elastic/eui'
32

43
import { EXTERNAL_LINKS } from 'uiSrc/constants/links'
54
import { RiIcon } from 'uiSrc/components/base/icons/RiIcon'
65
import { Link } from 'uiSrc/components/base/link/Link'
6+
import { RiEmptyPrompt } from 'uiSrc/components/base/layout'
77
import styles from './styles.module.scss'
88

99
const EmptyPrompt = () => (
1010
<div className={styles.container}>
11-
<EuiEmptyPrompt
11+
<RiEmptyPrompt
1212
data-testid="enablement-area__empty-prompt"
1313
icon={<RiIcon type="ToastDangerIcon" color="danger600" size="l" />}
1414
title={<h2>No information to display</h2>}

0 commit comments

Comments
 (0)