Skip to content

Commit 4a38626

Browse files
PR changes
1 parent 89e8307 commit 4a38626

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Ui/IllustratedBanner/IllustratedBanner.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import '@ui5/webcomponents-fiori/dist/illustrations/AllIllustrations.js';
77
type InfoBannerProps = {
88
title: string;
99
subtitle: string;
10-
illustrationName?: IllustrationMessageType; // e.g. 'NoData', 'SimpleError', etc.
10+
illustrationName: IllustrationMessageType; // e.g. 'NoData', 'SimpleError', etc.
1111
help?: {
1212
link: string;
1313
buttonText: string;
@@ -29,7 +29,7 @@ export const IllustratedBanner = ({
2929
titleText={title}
3030
subtitleText={subtitle}
3131
/>
32-
{help?.buttonText && help.link && (
32+
{help && (
3333
<a href={help.link} target="_blank" rel="noreferrer">
3434
<Button
3535
design={ButtonDesign.Transparent}

0 commit comments

Comments
 (0)