You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
onClickImage | func | onClickImage | Optional. Function to execute when lightbox image clicked. Overrides internal implementation of onClickImage.
107
107
onClickPrev | func | onClickPrev | Optional. Function to execute when lightbox left arrow clicked. Overrides internal implementation of onClickPrev.
108
108
onClickNext | func | onClickNext | Optional. Function to execute when lightbox right arrow clicked. Overrides internal implementation of onClickNext.
109
+
theme | object | undefined | Optional. Pass through styles to theme each component; `arrow`, `container`, etc.
109
110
lightboxWidth | number | 1024 | Optional. Maximum width of the lightbox carousel; defaults to 1024px
110
111
111
112
@@ -138,7 +139,7 @@ React Grid Gallery is free to use for personal and commercial projects under the
138
139
139
140
*[ValYouW](https://github.com/ValYouW) for lightboxWillOpen and lightBoxWillClose functionality [PR 20](https://github.com/benhowell/react-grid-gallery/pull/20) and customOverlay option: [PR 22](https://github.com/benhowell/react-grid-gallery/pull/22).
140
141
141
-
142
+
*[danalloway](https://github.com/danalloway) for theme pass-through prop [PR 27](https://github.com/benhowell/react-grid-gallery/pull/27)
<tdalign="left">Optional. Function to execute when lightbox right arrow clicked. Overrides internal implementation of onClickNext.</td>
309
309
</tr>
310
310
<tr>
311
+
<tdalign="left">theme</td>
312
+
<tdalign="left">object</td>
313
+
<tdalign="left">undefined</td>
314
+
<tdalign="left">Optional. Pass through styles to theme each component; <code>arrow</code>, <code>container</code>, etc.</td>
315
+
</tr>
316
+
<tr>
311
317
<tdalign="left">lightboxWidth</td>
312
318
<tdalign="left">number</td>
313
319
<tdalign="left">1024</td>
@@ -349,6 +355,9 @@ <h3>
349
355
350
356
<li><p><ahref="https://github.com/ValYouW">ValYouW</a> for lightboxWillOpen and lightBoxWillClose functionality: <ahref="https://github.com/benhowell/react-grid-gallery/pull/20">PR 20</a> and customOverlay option: <ahref="https://github.com/benhowell/react-grid-gallery/pull/22">PR 22</a>.</p></li>
351
357
358
+
<li><p><ahref="https://github.com/danalloway">danalloway</a> for theme pass-through prop <ahref="https://github.com/benhowell/react-grid-gallery/pull/27">PR 27</a>.</p></li>
0 commit comments