241195ddd6
This PR introduces breaking changes by renaming components. - Rename `next/image` to `next/legacy/image` - Rename `next/future/image` to `next/image` The diff is very confusing because both components are very similar so git got confused.
12 lines
215 B
JavaScript
12 lines
215 B
JavaScript
import React from 'react'
|
|
import Image from 'next/image'
|
|
|
|
export default function Page() {
|
|
return (
|
|
<div>
|
|
<p>Invalid width</p>
|
|
|
|
<Image src="/test.jpg" width="100%" height={300} />
|
|
</div>
|
|
)
|
|
}
|