We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0910144 commit 4789ed3Copy full SHA for 4789ed3
src/components/docImage/index.tsx
@@ -120,9 +120,9 @@ export default function DocImage({
120
121
return (
122
<ImageLightbox
123
+ {...props}
124
src={finalSrc}
125
imgPath={imgPath}
- {...props}
126
width={width}
127
height={height}
128
isManualDimensions={isManual}
src/components/imageLightbox/index.tsx
@@ -117,13 +117,13 @@ export function ImageLightbox({
117
118
<Image
119
src={renderedSrc}
+ width={dimensions.width}
+ height={dimensions.height}
style={imageStyle}
className={imageClassName}
alt={alt}
priority={!isInline}
{...imageCompatibleProps}
- width={dimensions.width}
- height={dimensions.height}
/>
);
129
}
0 commit comments