Open vader1359 opened 3 months ago
this way worked for me.
function NextImageComponent(props: ImageProps) {
return (
<Image
{...props}
width={400}
height={400}
// loading={"eager"}
></Image>
);
}
function NotionContainer() {
return (
<NotionRenderer
...
forceCustomImages={true}
components={{
Image: NextImageComponent,
nextLink: Link,
}}
/>
);
}
Anyone have the similar issue?
Test Notion Page: https://www.notion.so/iant1359/About-Us-ea21588ce29b43038e42c7979d715b7d
My code: