mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 08:01:20 +08:00
Handle excludedPropTypes option in withInfo
This commit is contained in:
parent
6286f129b2
commit
d938f53181
@ -78,6 +78,7 @@ function addInfo(storyFn, context, infoOptions) {
|
||||
maxPropArrayLength: options.maxPropArrayLength,
|
||||
maxPropsIntoLine: options.maxPropsIntoLine,
|
||||
maxPropStringLength: options.maxPropStringLength,
|
||||
excludedPropTypes: options.excludedPropTypes,
|
||||
};
|
||||
return <Story {...props}>{storyFn(context)}</Story>;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user