From 89cebb1175c9c837c1a6db0c1275e89aa56c004e Mon Sep 17 00:00:00 2001 From: Melloware Date: Wed, 9 Aug 2023 08:26:10 -0400 Subject: [PATCH] Fic #4704: typescript order for closeOnEscape (#4755) --- components/lib/image/image.d.ts | 10 +++++----- components/lib/overlaypanel/overlaypanel.d.ts | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/components/lib/image/image.d.ts b/components/lib/image/image.d.ts index 6f42495573..8538a9df46 100644 --- a/components/lib/image/image.d.ts +++ b/components/lib/image/image.d.ts @@ -146,6 +146,11 @@ export interface ImageProps extends Omit | undefined; + /** + * Specifies if pressing escape key should hide the preview. + * @defaultValue true + */ + closeOnEscape?: boolean | undefined; /** * DOM element instance where the overlay panel should be mounted. Valid values are any DOM Element and 'self'. The self value is used to render a component where it is located. * @defaultValue document.body @@ -125,11 +130,6 @@ export interface OverlayPanelProps extends Omit