In this lesson we‘ll show how to use React.cloneElement
to add additional properties to the children
of a React element. We‘ll also show that you can add additional properties not declared on the element.
[React] Use React.cloneElement to Modify and Add Additional Properties to React Children
原文:http://www.cnblogs.com/Answer1215/p/7019934.html