@livetiles/reach-plugin-types 0.5.0-preview.342 → 0.5.0-preview.344
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +2 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -5412,6 +5412,7 @@ declare module "apps/reach-app/src/app/chrome/CloseButton" {
|
|
|
5412
5412
|
import { FC, DependencyList } from 'react';
|
|
5413
5413
|
export interface Props {
|
|
5414
5414
|
navigateTo: string;
|
|
5415
|
+
onBeforeClose?: () => void;
|
|
5415
5416
|
onClose?: () => void;
|
|
5416
5417
|
tooltipResourceKey?: string;
|
|
5417
5418
|
useGoBack?: boolean;
|
|
@@ -5445,6 +5446,7 @@ declare module "apps/reach-app/src/app/chrome/Header" {
|
|
|
5445
5446
|
closeButtonOptions?: CloseButtonOptions;
|
|
5446
5447
|
}
|
|
5447
5448
|
export interface CloseButtonOptions {
|
|
5449
|
+
onBeforeClose?: () => void;
|
|
5448
5450
|
onClick?: () => void;
|
|
5449
5451
|
disableGoBack?: boolean;
|
|
5450
5452
|
route?: string;
|