Files
clash-verge-rev-lite/src/components/base/base-styled-select.tsx
2024-05-18 18:42:51 +08:00

20 lines
445 B
TypeScript

import { Select, SelectProps, styled } from "@mui/material";
export const BaseStyledSelect = styled((props: SelectProps<string>) => {
return (
<Select
size="small"
autoComplete="off"
sx={{
width: 120,
height: 33.375,
mr: 1,
'[role="button"]': { py: 0.65 },
}}
{...props}
/>
);
})(({ theme }) => ({
background: theme.palette.mode === "light" ? "#fff" : undefined,
}));