(element, props, children)
| 18894 | } |
| 18895 | |
| 18896 | function cloneElementWithValidation(element, props, children) { |
| 18897 | var newElement = cloneElement.apply(this, arguments); |
| 18898 | for (var i = 2; i < arguments.length; i++) { |
| 18899 | validateChildKeys(arguments[i], newElement.type); |
| 18900 | } |
| 18901 | validatePropTypes(newElement); |
| 18902 | return newElement; |
| 18903 | } |
| 18904 | |
| 18905 | var React = { |
| 18906 | Children: { |
nothing calls this directly
no test coverage detected