design-system-silkhaus 2.11.4 → 2.13.0-beta.tabbed-menu.1

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.
package/dist/index.d.ts CHANGED
@@ -984,6 +984,26 @@ export declare interface SwitchProps {
984
984
  htmlId?: string;
985
985
  }
986
986
 
987
+ export declare interface Tab {
988
+ icon: default_2.ElementType;
989
+ hoverIcon: default_2.ElementType;
990
+ label: string;
991
+ value: string;
992
+ link: string;
993
+ }
994
+
995
+ export declare const TabbedMenu: default_2.FC<TabbedMenuProps>;
996
+
997
+ export declare interface TabbedMenuProps {
998
+ tabs: Tab[];
999
+ value: string;
1000
+ defaultValue?: string;
1001
+ onChange: (tab: {
1002
+ value: string;
1003
+ link: string;
1004
+ }) => void;
1005
+ }
1006
+
987
1007
  export declare const tabletMinWidth: number;
988
1008
 
989
1009
  declare type TagProps = {