Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
TextBlock Gatsby-Contentful Fragment
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