(element, props, children)
| 19661 | } |
| 19662 | |
| 19663 | function cloneElementWithValidation(element, props, children) { |
| 19664 | var newElement = cloneElement.apply(this, arguments); |
| 19665 | for (var i = 2; i < arguments.length; i++) { |
| 19666 | validateChildKeys(arguments[i], newElement.type); |
| 19667 | } |
| 19668 | validatePropTypes(newElement); |
| 19669 | return newElement; |
| 19670 | } |
| 19671 | |
| 19672 | var React = { |
| 19673 | Children: { |
nothing calls this directly
no test coverage detected