storybookjs / storybook

Storybook is the industry standard workshop for building, documenting, and testing UI components in isolation
https://storybook.js.org
MIT License
84.62k stars 9.31k forks source link

[addon-docs] PropTable shows only default props in production #9784

Closed iamshadmirza closed 4 years ago

iamshadmirza commented 4 years ago

Describe the bug Addon-docs PropTable is not working correctly in production. The table is correct in development but after deploying to Netlify, it shows only those props which are common to propTypes and defaultProps. Also, the description column shows unknown. The deployed site is here: https://rnds.netlify.com

To Reproduce Steps to reproduce the behavior:

  1. Go to https://github.com/iamshadmirza/react-native-design-system

There is no error log. StoryBook is compiling without error. The PropTable is not working as expected in production.

Expected behavior https://github.com/iamshadmirza/react-native-design-system

Screenshots This is in development:

Screenshot (64)

This is after deploying to Netlify or GitHub pages.

Screenshot (65)

Code snippets To run storybook in development:

start-storybook -p 9001 -c .storybook -s .storybook/assets

To create build:

build-storybook -c .storybook -s .storybook/assets -o docs

Additional context Modules used

{
    "@storybook/addon-actions": "^5.3.12",
    "@storybook/addon-docs": "^5.3.12",
    "@storybook/addon-knobs": "^5.3.12",
    "@storybook/react": "^5.3.12",
    "@storybook/theming": "^5.3.12",
}
stale[bot] commented 4 years ago

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!

iamshadmirza commented 4 years ago

Any support on this?

shilman commented 4 years ago

I'm not seeing this on https://storybook-design-system.netlify.com/

stale[bot] commented 4 years ago

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!