Created
September 16, 2017 12:24
-
-
Save lcustodio/0b48e1d5913864d43f9a367a44f9917e to your computer and use it in GitHub Desktop.
Component wrapper to centralize blog-like content
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 from "react" | |
export default ({ children }) => | |
<div style={{ margin: "3rem auto", maxWidth: 600 }}> | |
{children} | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment