Skip to content

Instantly share code, notes, and snippets.

@burgwyn
Created October 16, 2017 03:49
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 burgwyn/268611e19e41e1ff2490bb9c5d62ff06 to your computer and use it in GitHub Desktop.
Save burgwyn/268611e19e41e1ff2490bb9c5d62ff06 to your computer and use it in GitHub Desktop.
Setting `style` is often bad
<Modal
isOpen={this.props.isOpen}
className="wrapper no-select"
contentLabel="No Content Modal"
style={{overlay: {"backgroundColor": "transparent"}}}>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment