Merge pull request #5673 from DJCordhose/reactelement-doc-fix

fixed docs on ReactElement that were out of sync with code
This commit is contained in:
Paul O’Shannessy
2015-12-16 11:50:36 -08:00
@@ -30,8 +30,10 @@ var RESERVED_PROPS = {
};
/**
* Base constructor for all React elements. This is only used to make this
* work with a dynamic instanceof check. Nothing should live on this prototype.
* Factory method to create a new React element. This no longer adheres to
* the class pattern, so do not use new to call it. Also, no instanceof check
* will work. Instead test $$typeof field against Symbol.for('react.element') to check
* if something is a React Element.
*
* @param {*} type
* @param {*} key