PropTypes

https://github.com/facebook/prop-types#usage

Common Prop Types

  • children: PropTypes.node
  • A component function: PropTypes.elementType