Prop tabs have gone missing #34748
-
SummaryI have been upgrading storybook in a large monorepo design system from v7 to v10. All seemed to be going well until someone spotted that the tabs for our props have gone and I am struggling to figure out who or what controls them. Any pointers would be super useful. Additional informationv7 main.ts v10 main.ts Create a reproductionNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hi @mildfuzz! I'm Dosu and I’m helping the storybook team. The most likely cause is your switch from Additionally, the tabbed prop tables you're seeing in v7 are generated by the To restore the tabs, switch back to typescript: {
check: false,
reactDocgen: 'react-docgen-typescript',
reactDocgenTypescriptOptions: {
shouldExtractLiteralValuesFromEnum: true,
setDisplayName: false,
// Include workspace package source files for monorepo resolution
include: ['**/**.tsx', '../../2.ui-components/**/src/**/*.tsx'],
propFilter: (prop) =>
prop.parent
? ['node_modules/@emotion', 'node_modules/@types/react'].every(
(name) => prop.parent && !prop.parent.fileName.includes(name)
)
: true,
},
},The The trade-off is a ~4 second build time increase [4], but this is necessary for full-fidelity TypeScript prop extraction. Could you try switching back to To reply, just mention @dosu. Share context across your team and agents. Try Dosu. |
Beta Was this translation helpful? Give feedback.


The biggest difference I notice is here:
If your components are TypeScript-heavy, that alone can absolutely be why the props/ArgsTable-style tabs disappeared.
In v7 you were also passing
reactDocgenTypescriptOptions, which means Storybook had a lot more TS metadata available. In v10, switching to plainreact-docgenis a common reason for docs losing prop details.So the first thing I’d try is switching back to TS docgen support (or otherwise restoring the equivalent metadata pipeline) rather than looking at the tabs UI itself.
I’d start there before digging into anything else.