I have next.js wrapper project around react ui library, which is included as npm package. Is there a way to use next/image for images optimization inside this React library?
I know that import next/image inside react project is not possible. So what is the approach to optimize images with next/image if images are inside another package?
Please, help! Thanks!