react-luminus-components 1.3.58 → 1.3.60
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/components/NewTabs/Tab/Tab.d.ts +2 -1
- package/dist/components/NewTabs/Tabs/Tabs.d.ts +4 -1
- package/dist/main.cjs.js +1 -1
- package/dist/main.es.js +1464 -1455
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,8 @@ export type TabProps<T = string | number> = {
|
|
|
5
5
|
className?: string;
|
|
6
6
|
onClick?: (key: T) => void;
|
|
7
7
|
disabled?: boolean;
|
|
8
|
+
vertical?: boolean;
|
|
8
9
|
children: string | React.ReactNode;
|
|
9
10
|
};
|
|
10
|
-
declare const Tab: <T>({ eventKey, className, onClick, disabled, children, }: TabProps<T>) => ReactElement<TabProps<T>>;
|
|
11
|
+
declare const Tab: <T>({ eventKey, className, onClick, disabled, vertical, children, }: TabProps<T>) => ReactElement<TabProps<T>>;
|
|
11
12
|
export default Tab;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { default as Tab, TabProps } from '../Tab/Tab';
|
|
2
3
|
|
|
3
4
|
type ChildrenType<T> = React.ReactElement<TabProps<T>, typeof Tab<T>>;
|
|
@@ -5,6 +6,8 @@ type Props<T> = {
|
|
|
5
6
|
activeTab: T;
|
|
6
7
|
onSelect: (index: T) => void;
|
|
7
8
|
children: Array<ChildrenType<T>>;
|
|
9
|
+
vertical?: boolean;
|
|
10
|
+
verticalStepper?: boolean;
|
|
8
11
|
};
|
|
9
|
-
declare const Tabs: <T extends string | number | null = string | number | null>({ activeTab, onSelect, children, }: Props<T>) =>
|
|
12
|
+
declare const Tabs: <T extends string | number | null = string | number | null>({ activeTab, onSelect, children, vertical, verticalStepper, }: Props<T>) => React.JSX.Element;
|
|
10
13
|
export default Tabs;
|