Add a PropType.elementType example to the Typechecking With PropTypes documentation.
I usually check react.org first thing when searching for react related APIs. I assume many others do. so it took me a while to know that it's just not referenced there. It would be great if it were added.
Add a
PropType.elementTypeexample to the Typechecking With PropTypes documentation.I usually check react.org first thing when searching for react related APIs. I assume many others do. so it took me a while to know that it's just not referenced there. It would be great if it were added.