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 5fdd5ca commit 3fbce30Copy full SHA for 3fbce30
packages/calypso-storybook/src/index.js
@@ -51,6 +51,9 @@ module.exports = function storybookDefaultConfig( {
51
check: false,
52
reactDocgen: 'react-docgen-typescript',
53
reactDocgenTypescriptOptions: {
54
+ shouldExtractLiteralValuesFromEnum: true,
55
+ shouldRemoveUndefinedFromOptional: true,
56
+ savePropValueAsString: true,
57
propFilter: ( prop ) => {
58
// Always show props declared in `@wordpress/components`
59
if ( prop.declarations.some( ( d ) => d.fileName.includes( '@wordpress/components' ) ) ) {
0 commit comments