All:
Im pretty new to React-motion, when I read its source(Motion.js) there is one place like:
  render: function render() {
    var renderedChildren = this.props.children(this.state.currentStyle);
    return renderedChildren && _react2['default'].Children.only(renderedChildren);
  }
I get confused about this line:
var renderedChildren = this.props.children(this.state.currentStyle);
I wonder what does this line do, does it just give those style to children? if so, where can I find the document for this usage in React website?
I also find one solution for passing props:
How to pass props to {this.props.children}
R they doing the same thing in diff ways?
Thanks
 
     
    