Last active
September 18, 2018 17:00
-
-
Save DaneSirois/cc965097f6d9e009d5470884ddd1dc8e to your computer and use it in GitHub Desktop.
Compound Components - ex.1
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' | |
items={[ | |
{ name: 'Eggs' }, | |
{ name: 'Ham' } | |
]} | |
onItemClick={this.handleItemClick} | |
/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment