Skip to content

Commit

Permalink
docs(OnyxToast): add minimal example (#1432)
Browse files Browse the repository at this point in the history
Relates to
#1286 (comment)

Add minimal toast example that only shows a headline
  • Loading branch information
larsrickert authored Jun 27, 2024
1 parent ec23ace commit 73e9452
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/sit-onyx/src/components/OnyxToast/OnyxToast.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,13 @@ export const LongDescription = {
"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.",
},
} satisfies Story;

/**
* This example shows a toast with the minimal amount of data.
*/
export const MinimalData = {
args: {
headline: Default.args.headline,
icon: false,
},
} satisfies Story;

0 comments on commit 73e9452

Please sign in to comment.