How to pass props to {this.props.children}

How to pass props to {this.props.children}

I’m trying to find the proper way to define some components which could be used in a generic way:



There is a logic going on for rendering between parent and children components of course, you can imagine

Recent Posts

Categories