码迷,mamicode.com
首页 > 其他好文 > 详细

[React] Use React.cloneElement to Modify and Add Additional Properties to React Children

时间:2017-06-15 21:51:08      阅读:144      评论:0      收藏:0      [点我收藏+]

标签:order   clone   declare   can   children   hid   box   use   des   

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

标签:order   clone   declare   can   children   hid   box   use   des   

原文地址:http://www.cnblogs.com/Answer1215/p/7019934.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!