mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-05-20 00:18:47 -05:00
23 lines
587 B
TypeScript
23 lines
587 B
TypeScript
import Select from "@mui/material/Select";
|
|
import type { SelectProps } from "@mui/material/Select";
|
|
import { useTheme } from "@mui/material/styles";
|
|
|
|
export const SelectInput: React.FC<SelectProps> = ({ ...props }) => {
|
|
const theme = useTheme();
|
|
return (
|
|
<Select
|
|
{...props}
|
|
sx={{
|
|
height: "34px",
|
|
"& .MuiOutlinedInput-notchedOutline": {
|
|
borderRadius: theme.shape.borderRadius,
|
|
borderColor: theme.palette.primary.lowContrast,
|
|
},
|
|
"&:hover .MuiOutlinedInput-notchedOutline": {
|
|
borderColor: theme.palette.primary.lowContrast,
|
|
},
|
|
}}
|
|
/>
|
|
);
|
|
};
|