UNPKG

mod-arch-shared

Version:

Shared UI components and utilities for modular architecture micro-frontend projects

6 lines 295 B
/** * Use this hook to block the browser from unloading when the user has unsaved changes. * @param shouldBlock - Whether to block the browser from unloading. */ export declare function useBrowserUnloadBlocker(shouldBlock: boolean): void; //# sourceMappingURL=useBrowserUnloadBlocker.d.ts.map