aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/design-system/src/components/NavBarTabs.tsx
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2024-07-22 11:37:38 +0200
committersonartech <sonartech@sonarsource.com>2024-07-24 20:02:49 +0000
commit04de2de3d71fceab34404f5bb047671658dd1bb9 (patch)
tree0e2cb02442a587e32cb58811c52fdaebea6cee96 /server/sonar-web/design-system/src/components/NavBarTabs.tsx
parentb0789ab729b158223d633fd3ebfb34bf7c5ab516 (diff)
downloadsonarqube-04de2de3d71fceab34404f5bb047671658dd1bb9.tar.gz
sonarqube-04de2de3d71fceab34404f5bb047671658dd1bb9.zip
SONAR-22523 Replace old Buttons with Echoes Buttons
Diffstat (limited to 'server/sonar-web/design-system/src/components/NavBarTabs.tsx')
-rw-r--r--server/sonar-web/design-system/src/components/NavBarTabs.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/design-system/src/components/NavBarTabs.tsx b/server/sonar-web/design-system/src/components/NavBarTabs.tsx
index 7d2aecf4447..14bcfcef228 100644
--- a/server/sonar-web/design-system/src/components/NavBarTabs.tsx
+++ b/server/sonar-web/design-system/src/components/NavBarTabs.tsx
@@ -19,6 +19,7 @@
*/
import styled from '@emotion/styled';
+import { IconChevronDown } from '@sonarsource/echoes-react';
import classNames from 'classnames';
import React, { forwardRef } from 'react';
import tw, { theme } from 'twin.macro';
@@ -26,7 +27,6 @@ import { themeBorder, themeColor, themeContrast } from '../helpers/theme';
import { isDefined } from '../helpers/types';
import NavLink, { NavLinkProps } from './NavLink';
import { Tooltip } from './Tooltip';
-import { ChevronDownIcon } from './icons/ChevronDownIcon';
interface Props extends React.HTMLAttributes<HTMLUListElement> {
children?: React.ReactNode;
@@ -71,7 +71,7 @@ export const NavBarTabLink = forwardRef<HTMLAnchorElement, NavBarTabLinkProps>(
{children}
- {withChevron && <ChevronDownIcon className="sw-ml-1" />}
+ {withChevron && <IconChevronDown className="sw-ml-1" />}
</NavLink>
</NavBarTabLinkWrapper>
);