Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
class MyComponent extends React.Component {
render() {
return (
{this.props.children('Cruisin down the street')}
// In the parent component
{ value => <div>{`${value} in my 64`}</div> }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment