mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
Add a warning to Next.js 15.5 to prepare for Next.js 16 when `images.qualities` is undefined and the user attempted to use set `quality` prop to something other than 75.
18 lines
258 B
JavaScript
18 lines
258 B
JavaScript
import React from 'react'
|
|
import Image from 'next/image'
|
|
|
|
const Page = () => {
|
|
return (
|
|
<Image
|
|
id="quality-50"
|
|
alt="quality-50"
|
|
src="/test.jpg"
|
|
width="400"
|
|
height="400"
|
|
quality="50"
|
|
/>
|
|
)
|
|
}
|
|
|
|
export default Page
|