diff --git a/content/docs/typechecking-with-proptypes.md b/content/docs/typechecking-with-proptypes.md index 4004e7820c5..05d85cae717 100644 --- a/content/docs/typechecking-with-proptypes.md +++ b/content/docs/typechecking-with-proptypes.md @@ -54,8 +54,11 @@ MyComponent.propTypes = { // (or fragment) containing these types. optionalNode: PropTypes.node, - // A React element. + // A React element (i.e: ). optionalElement: PropTypes.element, + + // A React element type (i.e: ReactElement) + optionalElementType: PropTypes.elementType, // You can also declare that a prop is an instance of a class. This uses // JS's instanceof operator.