Skip to content

Commit c0ee86d

Browse files
committed
docs: update imageProps documentation
1 parent f02cfd4 commit c0ee86d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ import "yet-another-react-lightbox/styles.css";
117117
&nbsp;&nbsp;padding?: {"`${number}px` | `${number}%` | number"};<br />
118118
&nbsp;&nbsp;spacing?: {"`${number}px` | `${number}%` | number"};<br />
119119
&nbsp;&nbsp;imageFit?: "contain" | "cover"<br />
120-
&nbsp;&nbsp;imageProps?: React.ImgHTMLAttributes&#8203;&lt;HTMLImageElement&gt;<br />
120+
&nbsp;&nbsp;imageProps?: ComponentProps&lt;"img"&gt; | ((slide: Slide) => ComponentProps&lt;"img"&gt;)<br />
121121
&#125;
122122
</td>
123123
<td>

0 commit comments

Comments
 (0)