(element, props, children)
| 18991 | } |
| 18992 | |
| 18993 | function cloneElementWithValidation(element, props, children) { |
| 18994 | var newElement = cloneElement.apply(this, arguments); |
| 18995 | for (var i = 2; i < arguments.length; i++) { |
| 18996 | validateChildKeys(arguments[i], newElement.type); |
| 18997 | } |
| 18998 | validatePropTypes(newElement); |
| 18999 | return newElement; |
| 19000 | } |
| 19001 | |
| 19002 | var React = { |
| 19003 | Children: { |
nothing calls this directly
no test coverage detected