Why am I getting this error - 'You are calling withTheme(Component) with an undefined component.' -React JS
Solved!
I have deleted below import statement.
import {DatePicker, MuiPickersUtilsProvider} from "material-ui-pickers";
This solved my issue. Maybe this will help you to solve your problem as well.