Created
March 10, 2016 06:16
-
-
Save mistadikay/7e6091e0f9b2f4abf400 to your computer and use it in GitHub Desktop.
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 from 'react'; | |
class Popup extends React.Component { | |
render() { | |
return ( | |
<div block="popup" mods={{visible: this.props.visible}}> | |
<div block="popup" elem="overlay" /> | |
<div block="popup" elem="content">{this.props.children}</div> | |
</div> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment