Use next/image
#165
-
It would be great if NextUI used the built-in |
Beta Was this translation helpful? Give feedback.
Answered by
jrgarciadev
Feb 2, 2022
Replies: 2 comments
-
I'm not sure it's a good idea because of this: vercel/next.js#19065 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey @styfle all NextUI components has a polymorphic property called |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jrgarciadev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @styfle all NextUI components has a polymorphic property called
as
so you can pass the Next.js Image component and the NextUIImage
component will support and behave as the Next.jsImage
component here's an example -> https://stackblitz.com/edit/nextjs-yie9lo?file=pages/index.js