@crystaltech/hsms-shared-ui 0.0.8 → 0.0.9-alpha.0

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.
@@ -1,5 +1,6 @@
1
1
  import { default as moduleLogo } from '../../assets/images/logo.png';
2
2
  export interface MenuItem {
3
+ clients: string[];
3
4
  label: string;
4
5
  icon: React.ReactNode;
5
6
  link: string;
@@ -9,6 +10,7 @@ export interface MenuItem {
9
10
  icon: React.ReactNode;
10
11
  link: string;
11
12
  roles: string[];
13
+ clients: string[];
12
14
  }[];
13
15
  }
14
16
  export interface IMenuConfig {
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+ import { UserInfo } from '../../routes/ProtectedRoute';
2
3
  import { IMenuConfig } from '../layout/layoutConfig';
3
4
  interface SideDrawerProps {
4
5
  isSidebarOpen: boolean;
@@ -9,6 +10,7 @@ interface SideDrawerProps {
9
10
  showOnlyIcons?: boolean;
10
11
  toggleSidebarDesktop?: () => void;
11
12
  userRoles: string[];
13
+ user?: UserInfo;
12
14
  }
13
15
  declare const SideDrawer: React.FC<SideDrawerProps>;
14
16
  export default SideDrawer;