chore: lint
This commit is contained in:
@@ -7,16 +7,16 @@ interface DropdownProps {
|
||||
label: string;
|
||||
value: string | undefined;
|
||||
handleSelect: (event: SelectChangeEvent) => void;
|
||||
children? : React.ReactNode;
|
||||
children?: React.ReactNode;
|
||||
};
|
||||
|
||||
export const Dropdown = ({id, label, value, handleSelect, children}: DropdownProps) => {
|
||||
export const Dropdown = ({ id, label, value, handleSelect, children }: DropdownProps) => {
|
||||
return (
|
||||
<FormControl sx={{ minWidth: 120 }} size="small">
|
||||
<InputLabel id={id}>{label}</InputLabel>
|
||||
<Select
|
||||
labelId={id}
|
||||
name = {id}
|
||||
name={id}
|
||||
value={value}
|
||||
label={label}
|
||||
onChange={handleSelect}
|
||||
|
||||
Reference in New Issue
Block a user