NotionX / react-notion-x

Fast and accurate React renderer for Notion. TS batteries included. ⚡️
https://react-notion-x-demo.transitivebullsh.it
MIT License
4.85k stars 568 forks source link

Documentation error on property name for including next/link component #453

Open ORye opened 1 year ago

ORye commented 1 year ago

Description

The example code shown in the readme for how to pass in a next/link component to the renderer has the property name NextLink. From looking at the source it appears this property name actually needs to be PageLink. Using the property NextLink doesn't seem to do anything.

https://github.com/NotionX/react-notion-x/blob/6493adc87a8f2dbb6b3881e27325a19501024789/readme.md?plain=1#L285