Skip to content

Instantly share code, notes, and snippets.

@lcustodio
Created September 16, 2017 12:24
Show Gist options
  • Save lcustodio/0b48e1d5913864d43f9a367a44f9917e to your computer and use it in GitHub Desktop.
Save lcustodio/0b48e1d5913864d43f9a367a44f9917e to your computer and use it in GitHub Desktop.
Component wrapper to centralize blog-like content
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