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

BlockNoteViewProps type is not exported #690

Open
i-am-chitti opened this issue Apr 6, 2024 · 1 comment
Open

BlockNoteViewProps type is not exported #690

i-am-chitti opened this issue Apr 6, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@i-am-chitti
Copy link
Contributor

i-am-chitti commented Apr 6, 2024

Describe the bug
In docs, it is written thatBlockNoteViewProps type is exported. But, on using it, it's not actually exported. So, its hard to create a generic component in Next.js based approach - https://www.blocknotejs.org/docs/advanced/nextjs where I'm trying to type the editor props. I can do a hardcode but it will have future issues whenever there is any update in props.

To Reproduce
Try write BlockNoteViewProps in code editor and it won't show up. Also, searched whole code base but it's only referenced in the docs.
image

Misc

  • Node version: 18.18
  • Package manager: 9.8.1
@i-am-chitti i-am-chitti added the bug Something isn't working label Apr 6, 2024
@i-am-chitti i-am-chitti changed the title BlockNoteViewProps is not exported BlockNoteViewProps type is not exported Apr 6, 2024
@YousefED
Copy link
Collaborator

YousefED commented Apr 8, 2024

Thanks, we'll fix this!

@YousefED YousefED self-assigned this Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants