Skip to content

Commit

Permalink
docs: update code-snippet readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mgadewoll committed Jun 24, 2024
1 parent 9785219 commit 8b8e875
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/eui/.storybook/addons/code-snippet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,11 @@ const meta = {
component: EuiButton,
parameters: {
codeSnippet: {
// optional way to override selected story args with manual values
// this is useful when the story arg would render unreadable or not useful output
args: {
propA: 'new value for propA',
},
// will skip code snippet generation for the component or story
// @default false
skip: true,
Expand Down

0 comments on commit 8b8e875

Please sign in to comment.