react-children-proptype
This is a simple package for validating React children.
Installation
npm install --save react-children-proptype
Example
; const MyComponent = <div> <h1>My Component</h1> children </div>; MyComponentpropTypes = children: childrenPropType;