Storybook docs don't pull component propTypes automatically

83 Views Asked by At

Storybook docs don't pull the TypeScript propTypes automatically in a monorepo project. React docgen does not do the trick either. The expected result is to see the "description" column filled with the propTypes, but it's empty instead. Also, if you don't specify the args/argTypes, the "control" column always treats the prop as an object instead of pulling the type from the component.

I'm using the suggested design system starter from Turbo.

Live demo here

Screenshot

Behaviour is consistent between different bundlers (Vite and Tsup). Any idea of what could be wrong with this setup?

0

There are 0 best solutions below