In readme and in examples I see that you suggest to put content as children of this component. I wonder what idea is behind this kind of approach instead use it as childless tag? Explanation in readme will be great. I can create PR with it if I get the purpose.
By the way I want to ask if code in render method can not be just replaced with return {this.props.children} for sake of simplicity and back compatibility?
Hello,
In readme and in examples I see that you suggest to put content as children of this component. I wonder what idea is behind this kind of approach instead use it as childless tag? Explanation in readme will be great. I can create PR with it if I get the purpose.
By the way I want to ask if code in render method can not be just replaced with return {this.props.children} for sake of simplicity and back compatibility?