Skip to content

Instantly share code, notes, and snippets.

@DaneSirois
Last active September 17, 2018 23:21
Show Gist options
  • Save DaneSirois/15a641a2efc6233e14b18f94615b6201 to your computer and use it in GitHub Desktop.
Save DaneSirois/15a641a2efc6233e14b18f94615b6201 to your computer and use it in GitHub Desktop.
Compound Components - ex.3
<ShoppingCart direction='vertical' onClick={this.handleItemClick}>
<ShoppingCartItem>Eggs</ShoppingCartItem>
<ShoppingCartItem>Ham</ShoppingCartItem>
</ShoppingCart>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment