Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: export BlocksContent type #13

Merged
merged 1 commit into from
Dec 11, 2023
Merged

feat: export BlocksContent type #13

merged 1 commit into from
Dec 11, 2023

Conversation

remidej
Copy link
Contributor

@remidej remidej commented Dec 11, 2023

What does it do?

  • Exports a new BlocksContent type, which is an array of root nodes.
  • Updates the readme to include that type

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

@remidej remidej added the pr: feature New or updates to features label Dec 11, 2023
@remidej remidej self-assigned this Dec 11, 2023
@remidej remidej merged commit 7c3440f into main Dec 11, 2023
2 checks passed
@remidej remidej deleted the feat/export-types branch December 11, 2023 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: feature New or updates to features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants