stratosphere-ui 0.2.1 → 0.2.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.
|
@@ -7,4 +7,4 @@ export interface DropdownMenuItemProps extends HTMLProps<HTMLAnchorElement> {
|
|
|
7
7
|
selected?: boolean;
|
|
8
8
|
subMenu?: ReactNode;
|
|
9
9
|
}
|
|
10
|
-
export declare const DropdownMenuItem: import("react").ForwardRefExoticComponent<Omit<DropdownMenuItemProps, "ref"> & import("react").RefAttributes<
|
|
10
|
+
export declare const DropdownMenuItem: import("react").ForwardRefExoticComponent<Omit<DropdownMenuItemProps, "ref"> & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
@@ -1,17 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import { HTMLProps, ReactNode } from 'react';
|
|
3
2
|
export interface TabData {
|
|
4
3
|
children?: ReactNode;
|
|
5
4
|
className?: string;
|
|
6
5
|
disabled?: boolean;
|
|
7
6
|
id: string;
|
|
7
|
+
paths?: string[];
|
|
8
8
|
}
|
|
9
|
-
export interface TabsProps extends Omit<
|
|
9
|
+
export interface TabsProps extends Omit<HTMLProps<HTMLDivElement>, 'as' | 'onChange' | 'ref' | 'size'> {
|
|
10
10
|
bordered?: boolean;
|
|
11
11
|
boxed?: boolean;
|
|
12
|
+
className?: string;
|
|
12
13
|
lifted?: boolean;
|
|
14
|
+
manual?: boolean;
|
|
13
15
|
onChange: (tab: TabData) => void;
|
|
16
|
+
pathname?: string;
|
|
17
|
+
selectedTabId?: string;
|
|
14
18
|
size?: 'xs' | 'sm' | 'lg';
|
|
15
19
|
tabs: TabData[];
|
|
20
|
+
vertical?: boolean;
|
|
16
21
|
}
|
|
17
|
-
export declare const Tabs: ({ bordered, boxed, children, lifted, onChange, size, tabs, ...props }: TabsProps) => JSX.Element;
|
|
22
|
+
export declare const Tabs: ({ bordered, boxed, children, className, manual, lifted, onChange, pathname, selectedTabId, size, tabs, vertical, ...props }: TabsProps) => JSX.Element;
|