We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cda600 commit 8125568Copy full SHA for 8125568
src/components/controls/Controls.js
@@ -34,8 +34,8 @@ var Controls = React.createClass({
34
* @return {Array.<ReactElement>} An array of components.
35
*/
36
renderChildren() {
37
- return React.Children.map(this.props.children, (child) => {
38
- return React.cloneElement(child, this.props);
+ return React.Children.map(this.props.children, child => {
+ return React.cloneElement(child, {...this.props});
39
});
40
},
41
0 commit comments