Created
August 31, 2020 20:42
-
-
Save debpu06/2119d818c515a67048a94cee023a386f to your computer and use it in GitHub Desktop.
TextBlock Gatsby-Contentful Fragment
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 { graphql } from "gatsby" | |
export const TextQuery = graphql` | |
fragment TextBlock on ContentfulTextBlock { | |
id | |
bodyContent { | |
json | |
} | |
sys { | |
contentType { | |
sys { | |
id | |
} | |
} | |
} | |
} | |
` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment