Last active
October 8, 2015 15:20
-
-
Save jonsherrard/8c148a4fca577b0a943c to your computer and use it in GitHub Desktop.
How do you format your component props?
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
// 1 | |
<Modal | |
isOpen={this.state.showTermsModal} | |
onRequestClose={this._toggleTerms} | |
style={this._customStyles} | |
/> | |
// 2 | |
<Modal | |
isOpen={this.state.showTermsModal} | |
onRequestClose={this._toggleTerms} | |
style={this._customStyles}/> | |
// 3 | |
<Modal | |
isOpen={this.state.showTermsModal} | |
onRequestClose={this._toggleTerms} | |
style={this._customStyles} | |
/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
or CJSX if an option