Unverified Commit c851da25 authored by Ivan Kalinin's avatar Ivan Kalinin Committed by GitHub

Fixed no-img-element documentation snippet. (#26154)

Module "next/image" has no exported member 'Image'.
It must be `import Image from "next/image"`
parent e4eed61a
......@@ -9,7 +9,7 @@ An HTML `<img>` element was used to display an image. For better performance and
Import and use the `<Image />` component:
```jsx
import { Image } from 'next/image'
import Image from 'next/image'
function Home() {
return (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment