You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.
I am seeing a similar issue, where the proptypes seem to be ignore or swallowed up when using a spread. For instance, we have an IconButton which composes two other components, which have fully-fleshed out proptypes.
Bug Report
Proptypes or defaultProps that are spread do not shopup on PropTable.
To Reproduce
I've created a sample app that you can test this behavour. One single button with single mdx file.
https://github.com/kivylius/docz-no-spread
Expected behavior
The props and default values to showup on docz.
Environment
Additional context/Screenshots
SideNote
if importing with this syntax, the code never compiles and crashes. In the mdx or even an component.
Even tho this is a valid import in react.
The text was updated successfully, but these errors were encountered: