Skip to content

Commit

Permalink
Expand code by default in Docs tab
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Feb 15, 2022
1 parent 938d0f4 commit 92354c9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ export const globalTypes = {
export const decorators = [ WithRTL ];

export const parameters = {
docs: {
source: {
state: 'open',
},
},
knobs: {
// Knobs are deprecated, and new stories should use addon-controls.
// Will be enabled on a per-story basis until migration is complete.
Expand Down

0 comments on commit 92354c9

Please sign in to comment.