Created
February 16, 2018 18:42
-
-
Save jameswritescode/9602600cf01e3ac0da83c9a464d36266 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
const styles = { | |
submitButton: { | |
backgroundColor: '#33c567', | |
float: 'right', | |
fontWeight: 'bold', | |
margin: 0, | |
padding: [0, 30], | |
}, | |
}; | |
// later | |
const classes = this.props.classes; | |
<button className={classes.fileButton} onClick={() => { this.fileInput.click(); }}> | |
<i className="ss-attach" /> Choose File | |
</button> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment