Skip to content

Instantly share code, notes, and snippets.

@grantsheppard
Created April 6, 2017 04:13
Show Gist options
  • Save grantsheppard/2acff7470d6d9b42f68191c53d8d9623 to your computer and use it in GitHub Desktop.
Save grantsheppard/2acff7470d6d9b42f68191c53d8d9623 to your computer and use it in GitHub Desktop.
<button onClick={this.openModal}>open modal</button>
<Modal isOpen={this.state.isModalOpen} onClose={this.closeModal}>
<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