Whatever I'm doing I'm not able to generate docs for components that uses JSDoc.
For e.g.
The following code:
/**
* @param {{name:string}} props
* */
export function Button(props) {
}
Should show me:
To see the props I must use propTypes
Button.propTypes = {
name: PropTypes.string,
}
So, how to make react-styleguidist
to work with JSdoc (or even kind of typescript).
A working example would be appreciate.