Unable to use PropsTable
See original GitHub issueBug Report
getValue
this function in <PropsTable>
causing error
Describe the bug
Once include PropsTable
component in my mdx file it throw error
To Reproduce
- Go to Button.mdx
- Include
PropsTable
as describe - See error
Uncaught TypeError: Cannot read property 'replace' of undefined at getValue
Expected behavior
To see the <PropsTable>
with correct props defined in ../lib/Button/index.js
Enviroment
{
"engines": {
"node": "8.11.1",
"npm": "5.7.1",
"yarn": "1.6.0"
}
}
Additional context/Screenshots
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
addon-docs: Props table can't find props when using ... - GitHub
Describe the bug When using addon-docs with Storybook, the props table says that it cannot find any props for a component that uses ......
Read more >props table issue | SAP Community
hi, i am facing the same issue several users have described here: our server is on hybris 5.1.1.
Read more >Storybook: Addon-Docs Cannot read property 'classes' of ...
I'm using Storybook 5.2.6 for React 16.9.0 with Typescript 3.5.3 and using Material UI themed components. Having added, and configured, ...
Read more >react-docgen-props-table - npm
Beautiful Props Table for React Docgen. ... Start using react-docgen-props-table in your project by running `npm i react-docgen-props-table` ...
Read more >TSIM installation with Oracle database ended with warnings ...
The TSIM installation with Oracle database ended with warnings due to ORA-00942 on sys.props$ table. The installation log shows below error ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I didn’t try
<PropsTable>
usingoneOfType
in prop types, I will see what’s happening. Thanks guys ✌️Looks great @albinekb