Skip to content

Commit

Permalink
chore: add story
Browse files Browse the repository at this point in the history
  • Loading branch information
kate-deriv committed Oct 29, 2024
1 parent ce4ded0 commit 7eda846
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/components/Snackbar/snackbar.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -261,3 +261,11 @@ SnackbarWithRemoveCallback.args = {
message: "Please, open the console",
onSnackbarRemove: () => console.log("onSnackbarRemove was called"),
};

export const SnackbarWithLongDelay = Template.bind(this) as Story;
SnackbarWithLongDelay.args = {
...meta.args,
hasFixedHeight: false,
message: "This is a snackbar with prolonged delay",
delay: 10000,
};

0 comments on commit 7eda846

Please sign in to comment.