Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
...(native
? { id }
: {
autoWidth,
displayEmpty,
labelId,
MenuProps,
onClose,
onOpen,
open,
renderValue,
SelectDisplayProps: { id, ...SelectDisplayProps },
}),
...inputProps,
classes: inputProps
? mergeClasses({
baseClasses: classes,
newClasses: inputProps.classes,
Component: Select,
})
: classes,
...(input ? input.props.inputProps : {}),
},
ref,
...other,
});
});