viclafouch / mui-file-input

A file input designed for the React library MUI
https://viclafouch.github.io/mui-file-input/
MIT License
77 stars 17 forks source link

App crashing when installing the component #27

Closed marinamuca closed 1 year ago

marinamuca commented 1 year ago

Describe the bug When I install the component on my app it stops working.

To Reproduce Steps to reproduce the behavior:

  1. run npm install mui-file-input
  2. run npm run dev to start your application
  3. you will see a wite screen and if you open the browser dev-tools you will see the error shown on the screen shot below.

Expected behavior It should not crash my application.

Screenshots image https://stackoverflow.com/questions/74542488/react-material-ui-createtheme-default-is-not-a-function

Desktop (please complete the following information):

Additional context I've searched the error on the internet thinking it was my problem but if I uninstall the component it stops crashing. Maybe this stack overflow issue might help: https://stackoverflow.com/questions/74542488/react-material-ui-createtheme-default-is-not-a-function

viclafouch commented 1 year ago

Hello ! Could you try with last version plz ?

marinamuca commented 1 year ago

Hi! I just tried upgrading to MUI 5.14.2 and I got the same outcome.

viclafouch commented 1 year ago

Could you please share me a codesandbox link plz ?