Skip to content

Instantly share code, notes, and snippets.

@grantsheppard
Created April 6, 2017 04:12
Show Gist options
  • Save grantsheppard/5bc5eb9c5d663873591a5a765cf184ba to your computer and use it in GitHub Desktop.
Save grantsheppard/5bc5eb9c5d663873591a5a765cf184ba to your computer and use it in GitHub Desktop.
<button onClick={this.openModal}>open modal</button>
<Modal>
<button onClick={this.closeModal}>Close</button>
</Modal>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment