Last active
March 30, 2017 15:20
-
-
Save pastelsky/412e92666e713a0f3524565d84aff6ad to your computer and use it in GitHub Desktop.
Consistent Naming
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
class ProductList extends Component { | |
handleAccordionClick() { | |
//... | |
} | |
handleButtonClick(){ | |
//... | |
} | |
render() { | |
return ( | |
<Accordion onClick={ this.handleAccordionClick }> | |
<button onClick={ this.handleButtonClick}> Click Me </button> | |
</Accordion> | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment