@ukpc-lib/react 0.16.5-sandbox.poms-1875.patch-3 → 0.16.5-sandbox.poms-1875.patch-4

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.
@@ -7,6 +7,7 @@ export type OwnMenuItemProps = {
7
7
  replacePath?(path: string): string;
8
8
  ssr?: boolean;
9
9
  brandColors?: ColorsType;
10
+ onClickItem?(item: MenuItemDto): void;
10
11
  };
11
12
  type MenuItemProps = {
12
13
  baseUrl: string;
@@ -19,7 +20,7 @@ type MenuItemProps = {
19
20
  nodes?: NodeModel<MenuItemDto>[];
20
21
  isDrop?: boolean;
21
22
  } & OwnMenuItemProps;
22
- export default function MenuItem({ ...props }: MenuItemProps): import("react/jsx-runtime").JSX.Element;
23
+ export default function FavMenuItem({ ...props }: MenuItemProps): import("react/jsx-runtime").JSX.Element;
23
24
  export type FavoriteIconProps = {
24
25
  onClick?(_isFavorite: boolean): void;
25
26
  menuLevel?: number;
@@ -8,6 +8,7 @@ export type OwnMenuItemProps = {
8
8
  ssr?: boolean;
9
9
  brandColors?: ColorsType;
10
10
  isInternalApp?: boolean;
11
+ onClickItem?(path: string): void;
11
12
  };
12
13
  type MenuItemProps = {
13
14
  baseUrl: string;
@@ -1 +1,3 @@
1
- declare const checkResponseStatus: (status: number) => boolean;
1
+ import { MenuItemDto } from '../models';
2
+
3
+ export declare function getPath(item: MenuItemDto): string;