Closed
Description
React.PropTypes.any
should allow any value to be passed as a prop. Having it as a valid PropType would allow for React.PropTypes.any.isRequired
, to enforce that something is passed, whatever it may be. It also supports documenting all possible props for a component: even if a prop may be anything, having it explicitly listed as React.PropType.any
is useful documentation.
Metadata
Metadata
Assignees
Labels
No labels