Last active
January 29, 2019 17:03
-
-
Save DSchau/3441eb8a48e5d4cdca42ed1f3e447c87 to your computer and use it in GitHub Desktop.
Example with Gatsby Browser APIs
This file contains hidden or 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' | |
| import { wrapRootElement } from 'gatsby/browser' | |
| wrapRootElement(({ element }) => ( | |
| <div>{element}</div> | |
| )) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment