Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Utils is not a constructor MuiPickersUtilsProvider

import DateFnsUtils from '@date-io/date-fns'
import { DateTimePicker, MuiPickersUtilsProvider } from '@material-ui/pickers'

<MuiPickersUtilsProvider utils={DateFnsUtils}>
                <DateTimePicker .../>
</MuiPickersUtilsProvider>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Utils #constructor #MuiPickersUtilsProvider
ADD COMMENT
Topic
Name
9+2 =