Skip to content

Instantly share code, notes, and snippets.

@mistadikay
Created March 10, 2016 06:16
Show Gist options
  • Save mistadikay/7e6091e0f9b2f4abf400 to your computer and use it in GitHub Desktop.
Save mistadikay/7e6091e0f9b2f4abf400 to your computer and use it in GitHub Desktop.
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