@kystverket/styrbord 0.306.2 → 0.306.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.
@@ -5,6 +5,7 @@ export type HeaderLinkComponentProps = {
5
5
  className?: string;
6
6
  href?: string;
7
7
  children: ReactNode;
8
+ onClick?: () => void;
8
9
  };
9
10
  export interface HeaderProps {
10
11
  /**
@@ -66,6 +67,23 @@ export interface HeaderProps {
66
67
  * initials. Keep it to `2` characters
67
68
  */
68
69
  initials: string;
70
+ /**
71
+ * logoutHandler
72
+ */
73
+ links?: {
74
+ /**
75
+ * icon - Typed til IconId
76
+ */
77
+ icon: IconId;
78
+ /**
79
+ * label
80
+ */
81
+ label: string;
82
+ /**
83
+ * url
84
+ */
85
+ url: string;
86
+ }[];
69
87
  /**
70
88
  * logoutHandler
71
89
  */
@@ -39,3 +39,4 @@ export declare const Selvbetjening: Story;
39
39
  export declare const medProfilOgMenyItems: Story;
40
40
  export declare const medMenyItems: Story;
41
41
  export declare const medProfil: Story;
42
+ export declare const medProfilLenker: Story;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kystverket/styrbord",
3
- "version": "0.306.2",
3
+ "version": "0.306.4",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "exports": {