Created
October 24, 2018 07:57
-
-
Save elzup/6c22b33925baea195c987f9d6b4e16c1 to your computer and use it in GitHub Desktop.
Page container component
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 { Grid, Paper } from '@material-ui/core' | |
export const Page = (props: Object) => ( | |
<Grid container justify={'center'}> | |
<Grid item xs={12} sm={12} md={10}> | |
<Paper {...props} /> | |
</Grid> | |
</Grid> | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment