strothj / react-docgen-typescript-loader

Webpack loader to generate docgen information from Typescript React components.
Other
360 stars 47 forks source link

The component file Name should be Capital Case to show Props #86

Open abdullasulaiman opened 4 years ago

abdullasulaiman commented 4 years ago

I have created a folder structure like below

-button -button.tsx -button.stories.tsx -index.ts

This structure doesn't shows up the props documentation The same code if the folder and the file name structure changed as below

-Button -Button.tsx -Button.stories.tsx -Index.ts

shows up the PropType documentation properly. I want to modify the folder and file naming convention