BlockNote icon indicating copy to clipboard operation
BlockNote copied to clipboard

`BlockNoteViewProps` type is not exported

Open i-am-chitti opened this issue 10 months ago • 1 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

i-am-chitti avatar Apr 06 '24 10:04 i-am-chitti

Thanks, we'll fix this!

YousefED avatar Apr 08 '24 07:04 YousefED