🤖 Merge PR #65272 [fslightbox-react] Basic 1.7.5 and Pro 1.7.3—add a "disableBackgroundClose" prop. by @piotrzdziarski

This commit is contained in:
Piotr Zdziarski
2023-04-25 19:10:08 +02:00
committed by GitHub
parent 8d918eeb23
commit 0650720371
2 changed files with 2 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ class Test extends React.Component {
showThumbsOnMount={false}
disableThumbs={false}
openOnMount={false}
disableBackgroundClose={true}
disableLocalStorage={true}
disableSlideSwiping={true}
exitFullscreenOnClose={false}

View File

@@ -66,6 +66,7 @@ export interface FsLightboxProps {
customToolbarButtons?: CustomToolbarButtonProps[] | undefined; // pro feature
// preferences
disableBackgroundClose?: boolean | undefined;
disableSlideSwiping?: boolean | undefined;
loadOnlyCurrentSource?: boolean | undefined;
showThumbsOnMount?: boolean | undefined; // pro feature