NotionX / react-notion-x

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

Can split previewImages and nextImage into two separate functions? #482

Open luckyBricks opened 1 year ago

luckyBricks commented 1 year ago

Description

Due to images on the domain notion.so cannot be accessed in some regions, I'm seeking a way to add an integrated image proxy for my site to bypass the restrictions.

The images in NotionRenderer component will not be replaced by Next Image unless the previewImages fuction got implemented as well.

As I just want to add the image proxy, is it there any way to use the standalone nextImage to control the image wrapper in NotionRenderer?

Notion Test Page ID