File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -57,13 +57,6 @@ type OnLoadingComplete = (result: {
5757
5858type ImgElementStyle = NonNullable < JSX . IntrinsicElements [ 'img' ] [ 'style' ] >
5959
60- interface StaticImageData {
61- src : string
62- height : number
63- width : number
64- blurDataURL ?: string
65- }
66-
6760interface StaticRequire {
6861 default : StaticImageData
6962}
@@ -607,6 +600,7 @@ export default function Image({
607600 loader,
608601 } ) }
609602 decoding = "async"
603+ data-nimg
610604 style = { imgStyle }
611605 className = { className }
612606 />
@@ -616,6 +610,7 @@ export default function Image({
616610 { ...rest }
617611 { ...imgAttributes }
618612 decoding = "async"
613+ data-nimg
619614 className = { className }
620615 ref = { ( img ) => {
621616 setRef ( img )
@@ -640,9 +635,9 @@ export default function Image({
640635 rel = "preload"
641636 as = "image"
642637 href = { imgAttributes . srcSet ? undefined : imgAttributes . src }
643- // @ts -ignore: imagesrcset is not yet in the link element type
638+ // @ts -ignore: imagesrcset is not yet in the link element type.
644639 imagesrcset = { imgAttributes . srcSet }
645- // @ts -ignore: imagesizes is not yet in the link element type
640+ // @ts -ignore: imagesizes is not yet in the link element type.
646641 imagesizes = { imgAttributes . sizes }
647642 > </ link >
648643 </ Head >
You can’t perform that action at this time.
0 commit comments