(element, props, children)
| 19799 | } |
| 19800 | |
| 19801 | function cloneElementWithValidation(element, props, children) { |
| 19802 | var newElement = cloneElement.apply(this, arguments); |
| 19803 | for (var i = 2; i < arguments.length; i++) { |
| 19804 | validateChildKeys(arguments[i], newElement.type); |
| 19805 | } |
| 19806 | validatePropTypes(newElement); |
| 19807 | return newElement; |
| 19808 | } |
| 19809 | |
| 19810 | var React = { |
| 19811 | Children: { |
nothing calls this directly
no test coverage detected