TypeCellOS / BlockNote

A React Rich Text Editor that's block-based (Notion style) and extensible. Built on top of Prosemirror and Tiptap.

Home Page:https://www.blocknotejs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`BlockNoteViewProps` type is not exported

i-am-chitti opened this issue · comments

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

Thanks, we'll fix this!