Skip to content

Instantly share code, notes, and snippets.

@jameswritescode
Created February 16, 2018 18:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jameswritescode/9602600cf01e3ac0da83c9a464d36266 to your computer and use it in GitHub Desktop.
Save jameswritescode/9602600cf01e3ac0da83c9a464d36266 to your computer and use it in GitHub Desktop.
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