Skip to content

Commit 07a0d61

Browse files
🤖 Merge PR DefinitelyTyped#74528 fslightbox-react, add a "useDialog" prop by @piotrzdziarski
1 parent 5a95ae3 commit 07a0d61

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ class Test extends React.Component {
5757
slideshowTime={10000}
5858
sourceMargin={0.2}
5959
UIFadeOutTime={10000}
60+
useDialog={true}
6061
zoomIncrement={0.5}
6162
onInit={this.handleEvent}
6263
onOpen={this.handleEvent}

‎types/fslightbox-react/index.d.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ declare namespace FsLightbox {
7272
slideshowTime?: number | undefined; // pro feature
7373
sourceMargin?: number | undefined;
7474
UIFadeOutTime?: number | false | undefined; // pro feature
75+
useDialog?: boolean | undefined;
7576
zoomIncrement?: number | undefined; // pro feature
7677
openOnMount?: boolean | undefined;
7778
exitFullscreenOnClose?: boolean | undefined;

0 commit comments

Comments
 (0)