import type { SelectProps as MuiSelectProps, FormControlProps as MuiFormControlProps } from '@material-ui/core'; import type { CSSProperties } from 'react'; export interface SelectProps extends Omit { /** * The text to be used as an error message. * If set, the select style changes to error sftatus. */ error?: string; /** * FormControl style which wraps the select */ containerStyle?: CSSProperties; /** * size of the select */ size?: MuiFormControlProps['size']; /** * non MUI prop to allow overwriting the default background color */ customBackgroundColor?: string; }