diff --git a/package.json b/package.json index 42478ef..19a61fc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "n6-ui", - "version": "1.2.2", + "version": "1.2.3", "description": "N6 Network UI Framework", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/NTabs/NTabs.tsx b/src/NTabs/NTabs.tsx index 29ec0ee..db626d1 100644 --- a/src/NTabs/NTabs.tsx +++ b/src/NTabs/NTabs.tsx @@ -31,6 +31,7 @@ export interface NTabsProps extends PropsWithChildren { defaultActivePane: string; activePane?: string; className?: string; + tabClassName?: string; neck?: ReactNode; onChange(name: string): void; } @@ -38,6 +39,7 @@ export interface NTabsProps extends PropsWithChildren { const NTabs: React.FC = ({ state = NTabsState.None, className, + tabClassName, children, neck, defaultActivePane, @@ -108,6 +110,7 @@ const NTabs: React.FC = ({ : activePane === tab.name ? 'text-white rounded-[100px] bg-gray-2' : 'text-gray-3', + tabClassName, )} key={idx} onClick={() => handleTabClick(tab.name, idx)}