Skip to content

Commit 562bd88

Browse files
committed
spread all props to img
1 parent a4c0d3e commit 562bd88

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

components/ProgressiveImage/index.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ const ProgressiveImage = (
3939
return (
4040
// eslint-disable-next-line @next/next/no-img-element
4141
<img
42+
{...props}
4243
style={{ ...props.style, ...style() }}
4344
src={currentImage}
4445
alt={props.alt}

jsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"compilerOptions": {
3+
"jsx": "react",
34
"baseUrl": "."
45
}
56
}

0 commit comments

Comments
 (0)