This commit is contained in:
Sinan Yumurtaci
2024-12-17 17:34:41 -06:00
committed by Nicolás Hatcher Andrés
parent ebc31780ab
commit 8ad407432f

View File

@@ -1,4 +1,5 @@
import { Button, Menu, MenuItem, MenuItemProps, styled } from "@mui/material"; import { Button, Menu, MenuItem, styled } from "@mui/material";
import type { MenuItemProps } from "@mui/material";
import { ChevronDown } from "lucide-react"; import { ChevronDown } from "lucide-react";
import { useRef, useState } from "react"; import { useRef, useState } from "react";
import { theme } from "../../theme"; import { theme } from "../../theme";
@@ -139,7 +140,7 @@ const StyledMenu = styled(Menu)`
} }
`; `;
const StyledMenuItem = styled(MenuItem)<MenuItemProps>(({}) => ({ const StyledMenuItem = styled(MenuItem)<MenuItemProps>(() => ({
display: "flex", display: "flex",
justifyContent: "space-between", justifyContent: "space-between",
fontSize: "12px", fontSize: "12px",
@@ -148,12 +149,11 @@ const StyledMenuItem = styled(MenuItem)<MenuItemProps>(({}) => ({
borderRadius: "4px", borderRadius: "4px",
padding: "8px", padding: "8px",
height: "32px", height: "32px",
'&:disabled': { "&:disabled": {
color: "#BDBDBD", color: "#BDBDBD",
} },
})); }));
const TabWrapper = styled("div")<{ $color: string; $selected: boolean }>` const TabWrapper = styled("div")<{ $color: string; $selected: boolean }>`
display: flex; display: flex;
margin-right: 12px; margin-right: 12px;