diff --git a/packages/design-system/src/Toast.stories.tsx b/packages/design-system/src/Toast.stories.tsx index 2370440..d8f65aa 100644 --- a/packages/design-system/src/Toast.stories.tsx +++ b/packages/design-system/src/Toast.stories.tsx @@ -111,21 +111,36 @@ export const Error = () => { export const Dismissible = () => { return ( -
-
+
+
Toast components can have an "addimissible" prop set to true. This will set the duration automatically to a minute, but offer an option to the user to manually close the tooltip. Optionally, the duration of a minute can also be overwritten using the duration prop.
+ + Toast Content + + + Toast Content + Toast Content - + + Toast Content + + Toast Content
diff --git a/packages/design-system/src/Toast.tsx b/packages/design-system/src/Toast.tsx index 529da50..bcdf43d 100644 --- a/packages/design-system/src/Toast.tsx +++ b/packages/design-system/src/Toast.tsx @@ -124,7 +124,7 @@ export function Toast({ {dismissible && (