design-system-silkhaus 2.13.0 → 2.14.0-beta.tabbed-menu.3
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.cjs +38 -38
- package/dist/index.d.ts +20 -0
- package/dist/index.js +1300 -1258
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1036,6 +1036,26 @@ export declare interface SwitchProps {
|
|
|
1036
1036
|
htmlId?: string;
|
|
1037
1037
|
}
|
|
1038
1038
|
|
|
1039
|
+
export declare interface Tab {
|
|
1040
|
+
IconComponent: default_2.ElementType;
|
|
1041
|
+
HoverIconComponent: default_2.ElementType;
|
|
1042
|
+
label: string;
|
|
1043
|
+
value: string;
|
|
1044
|
+
link?: string;
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
export declare const TabbedMenu: default_2.FC<TabbedMenuProps>;
|
|
1048
|
+
|
|
1049
|
+
export declare interface TabbedMenuProps {
|
|
1050
|
+
tabs: Tab[];
|
|
1051
|
+
value: string;
|
|
1052
|
+
defaultValue?: string;
|
|
1053
|
+
onChange: (tab: {
|
|
1054
|
+
value: string;
|
|
1055
|
+
link?: string;
|
|
1056
|
+
}) => void;
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1039
1059
|
export declare const tabletMinWidth: number;
|
|
1040
1060
|
|
|
1041
1061
|
declare type TagProps = {
|