Files
StevenandGitHub 191710ddfe Show error message when using legacy props on new next/image (#41930)
This PR shows a better error message when using legacy props on new
`next/image` (introduced in Next.js 13) and makes the codemod more
discoverable.
2022-10-27 12:17:28 -04:00

16 lines
286 B
JavaScript

import React from 'react'
import Image from 'next/image'
import testTall from './tall.png'
const Page = () => {
return (
<div>
<h1 id="page-header">Static Image</h1>
<Image id="basic-static" src={testTall} placeholder="blur" />
</div>
)
}
export default Page