Skip to content

Commit 932f8b2

Browse files
🤖 Merge PR DefinitelyTyped#72260 Add the "autoplay" prop. by @piotrzdziarski
1 parent cbd9897 commit 932f8b2

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

types/fslightbox-react/fslightbox-react-tests.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ class Test extends React.Component {
4141
showThumbsOnMount={false}
4242
disableThumbs={false}
4343
openOnMount={false}
44+
autoplay
4445
disableBackgroundClose={true}
4546
disableLocalStorage={true}
4647
disableSlideSwiping={true}

types/fslightbox-react/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ declare namespace FsLightbox {
4949

5050
// sources
5151
maxYoutubeVideoDimensions?: VideoDimensions | undefined;
52+
autoplay?: boolean | undefined;
5253

5354
// thumbs
5455
thumbs?: Array<string | null> | undefined; // pro feature
@@ -60,7 +61,6 @@ declare namespace FsLightbox {
6061

6162
// toolbar
6263
customToolbarButtons?: CustomToolbarButtonProps[] | undefined; // pro feature
63-
6464
// preferences
6565
disableBackgroundClose?: boolean | undefined;
6666
disableSlideSwiping?: boolean | undefined;

types/fslightbox-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "@types/fslightbox-react",
4-
"version": "1.7.9999",
4+
"version": "1.8.9999",
55
"projects": [
66
"https://fslightbox.com/"
77
],

0 commit comments

Comments
 (0)