(element, props, children)
| 19022 | } |
| 19023 | |
| 19024 | function cloneElementWithValidation(element, props, children) { |
| 19025 | var newElement = cloneElement.apply(this, arguments); |
| 19026 | for (var i = 2; i < arguments.length; i++) { |
| 19027 | validateChildKeys(arguments[i], newElement.type); |
| 19028 | } |
| 19029 | validatePropTypes(newElement); |
| 19030 | return newElement; |
| 19031 | } |
| 19032 | |
| 19033 | var React = { |
| 19034 | Children: { |
nothing calls this directly
no test coverage detected