Skip to content

Commit f624fff

Browse files
authored
docs(Storybook): enable enum selects in controls again (#8400)
1 parent cefe69d commit f624fff

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.storybook/main.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ const config: StorybookConfig = {
7777
reactDocgen: 'react-docgen-typescript',
7878
reactDocgenTypescriptOptions: {
7979
tsconfigPath: fileURLToPath(new URL('../tsconfig.json', import.meta.url)),
80+
shouldExtractLiteralValuesFromEnum: true,
81+
shouldRemoveUndefinedFromOptional: true,
8082
},
8183
},
8284
staticDirs: isDevMode ? ['images-dev'] : ['images'],

0 commit comments

Comments
 (0)