import React from "react"; import { FormControl, InputLabel, MenuItem, OutlinedInput, Select, Theme, useTheme } from "@mui/material"; export type MultiSelectProps = { values: string[], selected: string[], onChange: (values: string[]) => unknown, title: string, allOption?: boolean } const ITEM_HEIGHT = 48; const ITEM_PADDING_TOP = 8; const MenuProps = { PaperProps: { style: { maxHeight: ITEM_HEIGHT * 4.5 + ITEM_PADDING_TOP, width: 250 } } }; function getStyles(name: string, personName: readonly string[], theme: Theme) { return { fontWeight: (personName ?? []).indexOf(name) === -1 ? theme.typography.fontWeightRegular : theme.typography.fontWeightMedium }; } const MultiSelect: React.FC = (props) => { const theme = useTheme(); return
{props.title}
} export default MultiSelect;