Files
StevenandGitHub 001a67dfd9 Add test fixture e2e/app-dir/next-image (#41609)
This PR adds a test fixture `e2e/app-dir/next-image` to ensure `next/image` works with the `app` dir.
2022-10-20 23:21:28 +00:00

13 lines
266 B
JavaScript

import Image from 'next/image'
import testJpg from './test.jpg'
export default function NestedLayout({ children }) {
return (
<>
<h2>app-nested-layout</h2>
<Image id="app-nested-layout" src={testJpg} quality={70} />
{children}
</>
)
}