Skip to content

Instantly share code, notes, and snippets.

@tstibbs
Last active September 27, 2016 13:46
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 tstibbs/17b7beb2685fcfedaa1d0368cf2f8024 to your computer and use it in GitHub Desktop.
Save tstibbs/17b7beb2685fcfedaa1d0368cf2f8024 to your computer and use it in GitHub Desktop.
react-skylight#13
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