Skip to content

Commit

Permalink
Fix Source View in Nextjs projects
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinpalkovic committed Feb 13, 2023
1 parent 47aeae1 commit 5028df5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions code/frameworks/nextjs/src/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,11 @@ function addNextHeadCount() {
addNextHeadCount();

export const decorators = [StyledJsxDecorator, RouterDecorator, HeadManagerDecorator];

export const parameters = {
docs: {
source: {
excludeDecorators: true,
},
},
};

0 comments on commit 5028df5

Please sign in to comment.