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
i'm not even sure how this should be handled.
In example above it seems that extracting first argument from function
should be enough. But what if the composed prop types are not first
argument?
Should react-docgen support such cases at all? It seems valid to do so
from JS perspective but generated documentation is incomplete.
Recently #248 was closed, so perhaps this issue should be considered too.
Thanks for the library!
The text was updated successfully, but these errors were encountered:
Hello!
when defining prop types people do all sorts of things, for example:
Expected
composes
array is['important/path']
Actual
composes
array is['lodash/omit']
i'm not even sure how this should be handled.
In example above it seems that extracting first argument from function
should be enough. But what if the composed prop types are not first
argument?
Should react-docgen support such cases at all? It seems valid to do so
from JS perspective but generated documentation is incomplete.
Recently #248 was closed, so perhaps this issue should be considered too.
Thanks for the library!
The text was updated successfully, but these errors were encountered: