Skip to content

Commit 46c1f26

Browse files
authored
fix: updated stories to match react (#20214)
1 parent 88c496c commit 46c1f26

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

packages/web-components/src/components/notification/callout-notification.stories.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,11 @@ export const Default = {
8686
?low-contrast="${lowContrast}"
8787
status-icon-description="${ifDefined(statusIconDescription)}"
8888
title-id="${ifDefined(titleId)}">
89-
${actionButtonLabel &&
90-
html`<cds-actionable-notification-button slot="action"
91-
>${actionButtonLabel}</cds-actionable-notification-button
92-
>`}
89+
${actionButtonLabel
90+
? html`<cds-actionable-notification-button slot="action" kind="ghost"
91+
>${actionButtonLabel}</cds-actionable-notification-button
92+
>`
93+
: ''}
9394
</cds-callout-notification>
9495
`;
9596
},
@@ -102,7 +103,7 @@ export const WithInteractiveElements = {
102103
kind="${NOTIFICATION_KIND.INFO}"
103104
title="Notification title"
104105
title-id="callout-title-interactive"
105-
?low-contrast="true">
106+
?low-contrast="${true}">
106107
<div class="${prefix}--actionable-notification__subtitle">
107108
Additional text can describe the notification, or a link to
108109
<a href="#" aria-describedby="callout-title-interactive"

0 commit comments

Comments
 (0)