Created
October 22, 2018 19:27
-
-
Save alexanmtz/14cf817840ddb120aced64bbcb1b17ff to your computer and use it in GitHub Desktop.
Improve a react JSX code
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
<div className={ classes.chipContainer }> | |
<Chip | |
label=' daqui uma semana ' | |
className={ classes.chip } | |
onClick={ () => this.pickTaskDeadline(7) } | |
/> | |
<Chip | |
label=' daqui quinze dias ' | |
className={ classes.chip } | |
onClick={ () => this.pickTaskDeadline(15) } | |
/> | |
<Chip | |
label=' daqui vinte dias ' | |
className={ classes.chip } | |
onClick={ () => this.pickTaskDeadline(20) } | |
/> | |
<Chip | |
label=' daqui um mês' | |
className={ classes.chip } | |
onClick={ () => this.pickTaskDeadline(30) } | |
/> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment