Skip to content

Commit

Permalink
docs(components): fix Banner story delays
Browse files Browse the repository at this point in the history
  • Loading branch information
ivangabriele committed May 21, 2024
1 parent 8fc6980 commit 986fe56
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stories/components/Banner.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export function _Banner(props: BannerProps) {
<h2 style={{ color: THEME.color.white }}>Another header</h2>
</div>
<Banner
closingDelay={50000}
closingDelay={5000}
isCollapsible
level={Level.SUCCESS}
onAutoClose={() => setHasSecondBannerAutoClosed(true)}
Expand Down Expand Up @@ -126,6 +126,7 @@ export function _Banner(props: BannerProps) {
<h2 style={{ color: THEME.color.white }}>Again a header</h2>
</div>
<Banner
closingDelay={3000}
isClosable
level={Level.SUCCESS}
onAutoClose={() => setHasThirdBannerAutoClosed(true)}
Expand Down

0 comments on commit 986fe56

Please sign in to comment.