diegohaz / diegohaz/parse-prop-types

Node displays as custom

Open
#4 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
69
Forks
5
PR merge metrics
No merged PRs in 30d

Description

The following example will display 'custom' for the child prop. I would expect it to display 'node'.

```
myPlugin.propTypes = {
children: PropTypes.node
};

myPlugin.defaultProps = {
children: null
};
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.