Last active
September 18, 2018 17:01
-
-
Save DaneSirois/4f2b86f65d6892f672e4c684d4062671 to your computer and use it in GitHub Desktop.
Compound Components - ex.4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ShoppingCart direction='vertical' onClick={this.handleItemClick}> | |
<ShoppingCartItem>Eggs</ShoppingCartItem> | |
<ShoppingCartItem onClick={this.otherClickHandler}> | |
Ham | |
</ShoppingCartItem> | |
</ShoppingCart> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment