Skip to content

Commit

Permalink
using icon in select
Browse files Browse the repository at this point in the history
  • Loading branch information
fabio vincenzi committed Jan 17, 2024
1 parent 55d3647 commit 63db226
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/src/components/SideBar/SideBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { NavLink } from 'react-router-dom';
import { Drawer, Tooltip } from '@material-ui/core';
import Select from '@material-ui/core/Select';
import MenuItem from '@material-ui/core/MenuItem';
import AccountTreeIcon from '@material-ui/icons/AccountTree';

import logoImg from 'assets/logo.svg';

Expand Down Expand Up @@ -147,6 +148,7 @@ function SideBar(): React.FunctionComponentElement<React.ReactNode> {
onMouseEnter={handleTooltipOpen}
onMouseLeave={handleTooltipClose}
onOpen={handleTooltipClose}
renderValue={() => <AccountTreeIcon />}
>
{namespaces.map((namespace) => (
<MenuItem value={namespace} key={namespace}>
Expand Down

0 comments on commit 63db226

Please sign in to comment.