diff --git a/src/index.jsx b/src/index.jsx index 3ef2bdc..3970f94 100644 --- a/src/index.jsx +++ b/src/index.jsx @@ -478,7 +478,16 @@ var Col = React.createClass({ render() { return
- {this.props.children} + {React.Children.map(this.props.children, (child, index) => { + if (child.type === Row) { + return React.cloneElement(child, { + form: this.props.form + , spinner: this.props.spinner + }) + } else { + return child + } + })}
} })