We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 501912c commit e694ea8Copy full SHA for e694ea8
src/components/KymaCompanion/components/Chat/messages/ErrorMessage.tsx
@@ -1,4 +1,9 @@
1
-import { Button, Card, IllustratedMessage } from '@ui5/webcomponents-react';
+import {
2
+ Button,
3
+ Card,
4
+ IllustratedMessage,
5
+ Text,
6
+} from '@ui5/webcomponents-react';
7
import { useTranslation } from 'react-i18next';
8
9
interface ErrorMessageProps {
@@ -22,7 +27,9 @@ export default function ErrorMessage({
22
27
design="Spot"
23
28
key="error-message"
24
29
titleText={t('kyma-companion.error.title')}
25
- subtitleText={errorMessage}
30
+ subtitle={
31
+ <Text className="sap-margin-bottom-tiny">{errorMessage}</Text>
32
+ }
26
33
className="sap-margin-top-small no-padding"
34
>
35
{displayRetry && (
0 commit comments