(element, props, children)
| 21005 | } |
| 21006 | |
| 21007 | function cloneElementWithValidation(element, props, children) { |
| 21008 | var newElement = cloneElement.apply(this, arguments); |
| 21009 | for (var i = 2; i < arguments.length; i++) { |
| 21010 | validateChildKeys(arguments[i], newElement.type); |
| 21011 | } |
| 21012 | validatePropTypes(newElement); |
| 21013 | return newElement; |
| 21014 | } |
| 21015 | |
| 21016 | var React = { |
| 21017 | Children: { |
nothing calls this directly
no test coverage detected