We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89e8307 commit 4a38626Copy full SHA for 4a38626
src/components/Ui/IllustratedBanner/IllustratedBanner.tsx
@@ -7,7 +7,7 @@ import '@ui5/webcomponents-fiori/dist/illustrations/AllIllustrations.js';
7
type InfoBannerProps = {
8
title: string;
9
subtitle: string;
10
- illustrationName?: IllustrationMessageType; // e.g. 'NoData', 'SimpleError', etc.
+ illustrationName: IllustrationMessageType; // e.g. 'NoData', 'SimpleError', etc.
11
help?: {
12
link: string;
13
buttonText: string;
@@ -29,7 +29,7 @@ export const IllustratedBanner = ({
29
titleText={title}
30
subtitleText={subtitle}
31
/>
32
- {help?.buttonText && help.link && (
+ {help && (
33
<a href={help.link} target="_blank" rel="noreferrer">
34
<Button
35
design={ButtonDesign.Transparent}
0 commit comments