contentful / rich-text

Libraries for handling and rendering Rich Text 📄
MIT License
545 stars 108 forks source link

gatsby-transformer-contentful-richtext use with React? #46

Closed sarahbethfederman closed 5 years ago

sarahbethfederman commented 5 years ago

I am wondering what is the correct way to use react with the plugin configuration.

I need to use a gatsby Link component for INLINES.ENTRY_HYPERLINK and not sure how to do so from the gatsby-config file or if there is some other workaround. I have lots of other use cases for using a react component as well.

Can anyone point me in the right direction?

skarges3 commented 5 years ago

@mgmolisani would you know why I can only query the second one of those examples, and when I query richBody { json } it fails?

mgmolisani commented 5 years ago

@skarges3 are you using the most up to date source package?