MUI: fix TimezonePicker types

broken from mui/lab update
master
Andrew P Maney 5 years ago committed by Tom Hacohen
parent 7f898d62f6
commit b78ccfbf8b

@ -20,7 +20,7 @@ export default React.memo(function TimezonePicker(props: PropsType) {
<Autocomplete <Autocomplete
options={zonelist} options={zonelist}
value={props.value} value={props.value}
onChange={(_e, value) => props.onChange(value)} onChange={(_e: any, value: string) => props.onChange(value)}
getOptionLabel={(option) => option.replace('_', ' ')} getOptionLabel={(option) => option.replace('_', ' ')}
style={props.style} style={props.style}
renderInput={(params) => ( renderInput={(params) => (

Loading…
Cancel
Save