Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,11 @@ const config: StorybookConfig = {
// Exclude legacy Switch component from react-docgen as it's intended to be removed
// in a future release and causes confusion for Storybook generating docs.
reactDocgenTypescriptOptions: {
compilerOptions: {
esModuleInterop: true,
},
exclude: ["**/switch/switch.component.tsx"],
savePropValueAsString: true,
},
},

Expand Down
Loading