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 f02cfd4 commit c0ee86dCopy full SHA for c0ee86d
1 file changed
docs/documentation.md
@@ -117,7 +117,7 @@ import "yet-another-react-lightbox/styles.css";
117
padding?: {"`${number}px` | `${number}%` | number"};<br />
118
spacing?: {"`${number}px` | `${number}%` | number"};<br />
119
imageFit?: "contain" | "cover"<br />
120
- imageProps?: React.ImgHTMLAttributes​<HTMLImageElement><br />
+ imageProps?: ComponentProps<"img"> | ((slide: Slide) => ComponentProps<"img">)<br />
121
}
122
</td>
123
<td>
0 commit comments