update Nav + NavItem
-import { Nav, NavList, NavVariants } from '@patternfly/react-core';
+import { Nav, NavList } from '@patternfly/react-core';
import * as React from 'react';
export interface ITabBarProps {
@@ -9,7 +9,7 @@ export const TabBar: React.FunctionComponent<ITabBarProps> = ({
children,
...props
}) => (
- <Nav {...props}>
- <NavList variant={NavVariants.tertiary}>{children}</NavList>
+ <Nav variant={'tertiary'} {...props}>
+ <NavList>{children}</NavList>
</Nav>
);
