chore: lint

This commit is contained in:
karishmas6
2024-06-15 21:09:37 +05:30
parent a6e3beb589
commit 1fe5082b2f

View File

@@ -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}