We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0273bed commit 37be44cCopy full SHA for 37be44c
1 file changed
2nd-gen/packages/swc/.storybook/preview.ts
@@ -187,7 +187,8 @@ const preview = {
187
canvas: {
188
withToolbar: true,
189
layout: 'centered',
190
- sourceState: 'shown',
+ // Individual stories can override this with parameters.docs.canvas.sourceState.
191
+ sourceState: 'hidden',
192
},
193
source: {
194
excludeDecorators: true,
0 commit comments