mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-18 01:49:01 +00:00
🤖 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:
@@ -40,6 +40,7 @@ class Test extends React.Component {
|
||||
showThumbsOnMount={false}
|
||||
disableThumbs={false}
|
||||
openOnMount={false}
|
||||
disableBackgroundClose={true}
|
||||
disableLocalStorage={true}
|
||||
disableSlideSwiping={true}
|
||||
exitFullscreenOnClose={false}
|
||||
|
||||
1
types/fslightbox-react/index.d.ts
vendored
1
types/fslightbox-react/index.d.ts
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user