You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As soon as I have imported the pickers and hit save i get this error message several times in the console: ./node_modules/material-ui-pickers/dist/material-ui-pickers.esm.js 919:15-19
"export 'default' (imported as 'clsx') was not found in 'clsx'
The only difference between the error messages is that it refers to different lines etc.
The way I have imported it: import { InlineDatePicker } from 'material-ui-pickers';
But if I import it like this: import { InlineDatePicker } from 'material-ui-pickers/DatePicker';
I get no error message and it says that it compiles successfully, tho I only see a white page where all other components are gone.
Environment
material-ui-pickers: "2.1.2",
"@material-ui/core": "3.9.0",
"react": "16.4.2",
"typescript": "3.0.1",
Browser: Chrome
Steps to reproduce
"export 'default' (imported as 'clsx') was not found in 'clsx'
The only difference between the error messages is that it refers to different lines etc.
But if I import it like this: import { InlineDatePicker } from 'material-ui-pickers/DatePicker';
I get no error message and it says that it compiles successfully, tho I only see a white page where all other components are gone.
Expected behavior
To compile.
Actual behavior
Only error messages and it fails to compile.