Skip to content

Commit

Permalink
Correct types for form select
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbaldwin44 committed Aug 26, 2024
1 parent e6d9635 commit 4bf2cc9
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 4bf2cc9

Please sign in to comment.