Skip to content

Commit

Permalink
Merge pull request #2872 from andrewbaldwin44/task/types
Browse files Browse the repository at this point in the history
Correct types for form select
  • Loading branch information
cyberw authored Aug 26, 2024
2 parents 265321d + 4bf2cc9 commit aea9d63
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions locust/webui/src/components/Form/Select.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import { SxProps, FormControl, InputLabel, Select as MuiSelect, SelectProps } from '@mui/material';

interface ISelect extends SelectProps {
type ISelect = SelectProps & {
label: string;
name: string;
options: string[];
multiple?: boolean;
defaultValue?: string | string[];
sx?: SxProps;
onChange?: SelectProps['onChange'];
}
};

export default function Select({
label,
Expand Down

0 comments on commit aea9d63

Please sign in to comment.