@ssa-ui-kit/core 2.24.0 → 2.25.0
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/Tab/Tab.d.ts +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SmallTabProps } from '../TabBar/types';
|
|
2
|
-
declare const Tab: ({ onClick, isActive, text, ariaControls, tabId, }: SmallTabProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const Tab: ({ onClick, isActive, text, ariaControls, tabId, className, }: SmallTabProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default Tab;
|
package/dist/index.js
CHANGED
|
@@ -7849,7 +7849,8 @@ const Tab = ({
|
|
|
7849
7849
|
isActive,
|
|
7850
7850
|
text,
|
|
7851
7851
|
ariaControls,
|
|
7852
|
-
tabId
|
|
7852
|
+
tabId,
|
|
7853
|
+
className
|
|
7853
7854
|
}) => {
|
|
7854
7855
|
return (0,jsx_runtime_namespaceObject.jsx)(TabBase, {
|
|
7855
7856
|
role: "tab",
|
|
@@ -7859,6 +7860,7 @@ const Tab = ({
|
|
|
7859
7860
|
tabIndex: 0,
|
|
7860
7861
|
isActive: isActive,
|
|
7861
7862
|
title: text,
|
|
7863
|
+
className: className,
|
|
7862
7864
|
onClick: () => {
|
|
7863
7865
|
// istanbul ignore else
|
|
7864
7866
|
if (typeof onClick === 'function') {
|