Skip to content

Instantly share code, notes, and snippets.

@grantsheppard
Created April 6, 2017 04:13
<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