react-docgen-typescript
react-docgen-typescript copied to clipboard
Can it output function doc if it is not a ReactFC?
in this case
const Dialog = {
show(props: T) {...}
}
export default Dialog
and I want to show an API document about Dialog.show
,is this even possible ?
as I've tried, it seems not
something similar seems to happen if I use React.VFC instead of React.FC , no docs
@pvasek I am seeing something similar in my project, are there any known bugs around functional components and react-docgen-typescript being able to parse props correctly?
There was no activity for a long time. The issue will be closed soon.
Closing this issue as obsolete.