-
-
Save l0gicgate/8a5b808bc6943ebf9917ac7064797b03 to your computer and use it in GitHub Desktop.
This file contains 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 Paper from 'material-ui/Paper'; | |
const panelStyle = { | |
width: '400px', | |
marginLeft: '42%', | |
marginRight: '50%', | |
} | |
class PaperPanel extends Component { | |
render() { | |
return ( | |
<Paper style={panelStyle} zDepth={2}> | |
{this.props.children} | |
</Paper> | |
) | |
} | |
} | |
export default PaperPanel; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment