-
-
Notifications
You must be signed in to change notification settings - Fork 311
Closed
Milestone
Description
I often nest my proptypes like this:
class Parent extends React.Component {
static propTypes = {
something: pt.string.isRequired,
child: pt.shape(Child.propTypes).isRequired
}
}react-docgen gives me
"type": {
"name": "shape",
"value": "unkown"
},for the parameter. Can I somehow make it give me Child? I tried using instanceOf() but that didn't work either.
Metadata
Metadata
Assignees
Labels
No labels