@crystaltech/hsms-shared-ui 0.5.5 → 0.5.7
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.
|
@@ -2,7 +2,7 @@ import { default as React } from 'react';
|
|
|
2
2
|
import { IUserManage } from './layout/MainLayout';
|
|
3
3
|
interface AccountInfoWithAvatarProps {
|
|
4
4
|
userManage: IUserManage;
|
|
5
|
-
logoutHandler: () => void
|
|
5
|
+
logoutHandler: () => Promise<void>;
|
|
6
6
|
}
|
|
7
7
|
declare const AccountInfoWithAvatar: React.FC<AccountInfoWithAvatarProps>;
|
|
8
8
|
export default AccountInfoWithAvatar;
|
|
@@ -22,7 +22,7 @@ export interface ILayoutConfig {
|
|
|
22
22
|
export interface IMainLayout {
|
|
23
23
|
children: React.ReactNode;
|
|
24
24
|
layoutConfig: ILayoutConfig;
|
|
25
|
-
logoutHandler?: () => void
|
|
25
|
+
logoutHandler?: () => Promise<void>;
|
|
26
26
|
title: string;
|
|
27
27
|
}
|
|
28
28
|
declare const MainLayout: React.FC<IMainLayout>;
|