strapi / blocks-react-renderer

A React renderer for the Strapi's Blocks rich text editor
Other
107 stars 15 forks source link

feat: export BlocksContent type #13

Closed remidej closed 7 months ago

remidej commented 7 months ago

What does it do?

Why is it needed?

For the convenience of users. For example if they have wrapped the renderer in a custom component like RichText, so they can define the prop types of that component.

How to test it?

Import the BlocksContent type and use it

Related issue(s)/PR(s)

The need for this was highlighted in #11