-
-
Save canertuzunar/3a50c4b3ba964b9e211e582c4a9b34ba 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
<StaticQuery | |
query={graphql` | |
query HeadingQuery { | |
site { | |
siteMetadata { | |
title | |
} | |
} | |
} | |
`} | |
render={(data) => ( | |
<header> | |
<h1>{data.site.siteMetadata.title}</h1> | |
</header> | |
)} | |
/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment