Last active
September 27, 2016 13:46
-
-
Save tstibbs/17b7beb2685fcfedaa1d0368cf2f8024 to your computer and use it in GitHub Desktop.
react-skylight#13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import SkyLight from 'react-skylight'; | |
class Hello extends Component { | |
constructor(props) { | |
super(props) | |
} | |
render() { | |
return ( | |
<div> | |
<div onClick={() => this.refs.buildsPopup.show()}> | |
<p>blah</p> | |
<SkyLight hideOnOverlayClicked ref="buildsPopup"> | |
<p>more blah</p> | |
</SkyLight> | |
</div> | |
</div> | |
) | |
} | |
} | |
export default Hello |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment